Skip to main content

admin_status

Function admin_status 

Source
pub fn admin_status(pool: &DbPool) -> AdminStatusDto
Expand description

Gathers the AdminStatusDto over one pooled connection (plus the in-memory pool counters). Shared by the HTML dashboard’s first paint and the /admin/status.json poll feed so both show identical state. Mostly cheap small-table reads (plus the one tasks_todo backlog count) — no dispatcher/storage probe.