Skip to main content

fail_job

Function fail_job 

Source
pub async fn fail_job(
    conn: &DatabaseConnection,
    id: i64,
    error: &str,
) -> Result<(), Error>
Expand description

Park a job as failed with an error message, recording the failure time.