Repository navigation
Fleet management: running, checking and importing many accounts.
fleet.Store,fleet.Manager(#2036): accounts (name, group, pause, labels) and their sessions in a store (DirStore,MemoryStore); the manager starts them, restarts a failed client with a backoff, stops an account whose authorization is lost or that is banned (IsFinal), and adds, removes, starts, stops, restarts, pauses and resumes accounts at runtime.- Health checks (#2038): periodic (15 min, spread at random) and on demand; the end of a freeze is found by the check;
Manager.ReportandManager.Healthz(503 above a share of unready accounts);gotd.fleet.check.duration. - Hooks (#2038):
OnLostwith the black box record,OnFloodWait,OnTimeout,OnOutlier(Fleet.Run). - Groups (#2038):
Spec.Group(a proxy, an IP),Fleet.Groups,gotd.fleet.group.connectedand theGotdFleetGroupDownalert: a dead proxy apart from banned accounts. - Session import (#2037, #2038):
session.PyrogramSession(three formats),session.GramJSSession,session.GogramSession(two formats),session.StringSessiontelling the format by its shape;Manager.Import. TestClientCost(#2034): 12 goroutines and about 100 KB per idle client.
Full Changelog: v0.173.0...v0.174.0