pub async fn fail_job( conn: &DatabaseConnection, id: i64, error: &str, ) -> Result<(), Error>
Park a job as failed with an error message, recording the failure time.
failed