This commit is contained in:
jif-oai
2026-04-21 15:16:35 +01:00
parent 200afcd72d
commit 21a4f8753a
+1 -1
View File
@@ -416,7 +416,7 @@ mod agent {
if let Some(token_usage) = agent_control.get_total_token_usage(thread_id).await {
emit_token_usage_metrics(&session, &token_usage);
}
// TODO jif simlpify
// Do not commit if we lost the lock
match db
.heartbeat_global_phase2_job(&claim.token, phase_two::JOB_LEASE_SECONDS)
.await