Add scale limit constants, stale-agent indexed query, and tests.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Extract fleet caps (128 hosts, sem=16, 250ms coalesce, syscheck=20) into named constants with Go tests; wire ListStaleOnlineAgents for stale sweeps instead of full ListAgents scans.
This commit is contained in:
7
agent/deploy/scale_limits.go
Normal file
7
agent/deploy/scale_limits.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package deploy
|
||||
|
||||
// Fleet discovery and lateral spread scale ceilings (per agent).
|
||||
const (
|
||||
// SpreadConcurrencyCap limits concurrent spread goroutines per agent.
|
||||
SpreadConcurrencyCap = 16
|
||||
)
|
||||
Reference in New Issue
Block a user