Skip to main content

drain_queue

Function drain_queue 

Source
pub async fn drain_queue(pool: &PgPool, queue: &str) -> Result<u64, AwaError>
Expand description

Drain a queue: cancel all non-running, non-terminal jobs.