Skip to main content

count_inflight

Function count_inflight 

Source
pub async fn count_inflight(pool: &PgPool) -> Result<i64, Error>
Expand description

Count of rows in status = 'inflight' (currently being delivered by a worker). Used alongside count_pending so dashboards can show both “queued” and “in-flight” depth.