fmt: mission_runtime sweeper
ci / gates (push) Successful in 5s
ci / frontend (push) Successful in 25s
ci / rust (push) Failing after 2m24s
ci / e2e (push) Skipped
ci / publish (push) Skipped

This commit is contained in:
Omar Sobh
2026-07-21 22:34:05 -07:00
parent 69a6e4e7f2
commit bb5cfc1519
+2 -8
View File
@@ -287,14 +287,8 @@ async fn sweep_once(pool: &sqlx::PgPool, grace: std::time::Duration) -> Result<(
// sweeper doesn't retry forever. // sweeper doesn't retry forever.
eprintln!("mission_runtime::sweeper: teardown mission {id}: {e}"); eprintln!("mission_runtime::sweeper: teardown mission {id}: {e}");
} }
if let Err(e) = cm_db::repo::missions::set_runtime_binding( if let Err(e) =
pool, cm_db::repo::missions::set_runtime_binding(pool, id, workspace_id, None, None).await
id,
workspace_id,
None,
None,
)
.await
{ {
eprintln!("mission_runtime::sweeper: clear binding for {id}: {e}"); eprintln!("mission_runtime::sweeper: clear binding for {id}: {e}");
} }