Disk writes: - SQLite pragmas in DSN: wal_autocheckpoint=10000, journal_size_limit=64MB, cache_size=64MB - migration 0013: drop redundant idx_checks_registry_cycle - results batched: UpsertChecksIfOpen in one transaction; agent flushes every 5s and before complete - heartbeat kept in memory, persisted on state change or every 60s; startup grace for stale sweeps Diagnostic mode: - POST /api/v1/admin/diagnostics/attach|detach, GET /api/v1/admin/diagnostics - migration 0014: diagnostic_holds; validator state "diagnostic" - held addresses are not queued, held validators skip sweeps, port release and delete Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 lines
281 B
SQL
5 lines
281 B
SQL
-- (registry_id, cycle_id) are the first columns of the UNIQUE index on
|
|
-- checks, which serves every lookup by them; the extra index only costs
|
|
-- writes (see docs/changes/2026-11-03_00-19_control-api-disk-write-reduction-plan.md).
|
|
DROP INDEX IF EXISTS idx_checks_registry_cycle;
|