Skip to main content

mark_failed_with_retry_owned

Function mark_failed_with_retry_owned 

Source
pub fn mark_failed_with_retry_owned(
    conn: &Connection,
    job_id: &str,
    worker_id: Option<&str>,
    error: &str,
    failure_class: &FailureClass,
    max_retries: u32,
) -> Result<bool, Error>
Expand description

Mark a failed job for retry or permanent failure while validating worker ownership.