pub const READINESS_TIMEOUT: Duration;Expand description
How long RequestHandler::readiness waits for the task store before it
answers "timeout".
A database that stops answering (paused, partitioned) leaves the store’s
probe waiting for a pooled connection, 30 s with sqlx’s default; until
2026-10-29 /ready waited with it (run live against a paused
PostgreSQL), and a balancer with a longer probe timeout kept routing to
the replica meanwhile. Two seconds is below a typical probe timeout
(deploy-agent’s manifest uses 3 s) and far above a healthy store’s one
statement.