Merge fix/review-2026-12-phase5 (2026-12-02 review fix plan)
Conflicts resolved: - WorkerClient: keep the WRK-003 deadline-bound enqueue and carry the WRK-010 pre-computed envelope size through both the TryWrite fast path and the slow path. - AlarmsHub: prime each connection (DSH-005) and then count it for the idle-gated publisher (DSH-009); a connection that fails priming is never counted, so never decremented. - GatewayDashboardDesign.md: describe both.
This commit is contained in:
@@ -417,7 +417,7 @@ it is about to do; a deployment that needs crash-durable admin audit should ship
|
||||
rather than rely on this table.
|
||||
|
||||
`MxGateway:Security:AuditRetentionDays` (default 90, minimum 1) bounds the table: the drain sweeps
|
||||
at startup and hourly, deleting older rows. Retention cannot be configured off. The sweep compares
|
||||
hourly, deleting older rows in 5,000-row chunks (the first sweep runs from the background loop right after host startup, not inside it; an expression index on `datetime(occurred_at_utc)`, created by the first sweep, keeps the delete from scanning the table). Retention cannot be configured off. The sweep compares
|
||||
through SQLite's `datetime()` rather than on the stored ISO-8601 text. Text comparison is correct
|
||||
only while every row is UTC-normalized — which the canonical model guarantees for rows written
|
||||
through the store, but not for rows that entered the table any other way — and on a mixed-format
|
||||
|
||||
Reference in New Issue
Block a user