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:
@@ -30,7 +30,7 @@ import (
|
||||
// - IPv6 addresses are tracked for local self-skip but are not port-scanned (/64
|
||||
// sweeps are impractical). IPv6 peers may appear from the OS neighbor cache.
|
||||
// - ARP cache is consulted first (arp_*.go) before any active sweep.
|
||||
// - Lateral spread uses spreadSem (16 concurrent targets) per agent.
|
||||
// - Lateral spread uses spreadSem (SpreadConcurrencyCap concurrent targets) per agent.
|
||||
|
||||
// getLocalIPs returns IPv4 and IPv6 addresses on up, non-loopback interfaces.
|
||||
func getLocalIPs() []string {
|
||||
|
||||
Reference in New Issue
Block a user