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).