Skip to main content

queue_state_counts

Function queue_state_counts 

Source
pub async fn queue_state_counts(
    pool: &PgPool,
    queue: &str,
) -> HashMap<String, i64>
Expand description

Query job state counts for a queue, returning a map of state -> count.