This commit is contained in:
2025-11-11 15:50:51 +01:00
parent edcf996d12
commit 6f34a0a4fa
3 changed files with 10 additions and 19 deletions
+2 -5
View File
@@ -98,11 +98,8 @@ impl Worker {
None => {
warn!(job_id = %job.id, job_type = %job.job_type, "job detached from tenant; marking failed");
if let Ok(mut conn) = self.state.db_unscoped() {
let _ = mark_job_failed(
&mut conn,
job.id,
"job detached from tenant context",
);
let _ =
mark_job_failed(&mut conn, job.id, "job detached from tenant context");
}
return Ok(true);
}