fix(scheduler): start a tick's scans together; the slots cap them (#61) #823

Merged
sharang merged 1 commits from fix/scheduler-fan-out into main 2026-11-04 08:17:59 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 6f8a2f72da fix(scheduler): start a tick's scans together; the slots cap them (#61)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m25s
CI / Check (pull_request) Successful in 17m11s
The scan tick awaited every tenant and every target one after another,
so one slow repository held up all the others and SCAN_CONCURRENCY never
applied to scheduled scans. The tick now starts them all; each scan
waits for one of the SCAN_CONCURRENCY slots (ScanGate), and the existing
start jitter of up to 30 s spreads them out.

Closes #61.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:00:12 +01:00