pub fn mark_failed_with_retry(
conn: &Connection,
job_id: &str,
error: &str,
failure_class: &FailureClass,
) -> Result<bool>Expand description
Mark a failed job for retry with backoff. Sets next_run_at based on
the failure class and attempt count, then resets status to pending.