Skip to main content

flush

Function flush 

Source
pub async fn flush(
    database_url: &str,
    hours: Option<u64>,
    queue: Option<&str>,
) -> Result<u64, Error>
Expand description

Delete exhausted jobs, optionally retaining recent failures or filtering by queue.