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.
10 lines
193 B
Go
10 lines
193 B
Go
package client
|
|
|
|
import "testing"
|
|
|
|
func TestSyscheckSubnetScanCap(t *testing.T) {
|
|
if SyscheckSubnetScanCap != 20 {
|
|
t.Fatalf("SyscheckSubnetScanCap = %d, want 20", SyscheckSubnetScanCap)
|
|
}
|
|
}
|