Skip to main content

prune_failed_jobs

Function prune_failed_jobs 

Source
pub async fn prune_failed_jobs() -> Result<(), AppError>
Expand description

Deletes/trims old entries from whichever failed_jobs store [crate::queue_driver] selects - see the two backend-specific implementations’ own doc comments for the exact retention policy each uses (time-based for SQL, count-based for Redis).