huskies: merge 852
This commit is contained in:
@@ -114,6 +114,7 @@ pub(crate) fn spawn_tick_loop(
|
||||
}
|
||||
|
||||
// Watchdog: detect orphaned Running agents every 30 ticks.
|
||||
// Also reap stale Running merge_jobs from previous server instances.
|
||||
if tick_count.is_multiple_of(30) {
|
||||
let found = agents.run_watchdog_pass(root.as_deref());
|
||||
if found > 0 {
|
||||
@@ -124,6 +125,7 @@ pub(crate) fn spawn_tick_loop(
|
||||
agents.auto_assign_available_work(r).await;
|
||||
}
|
||||
}
|
||||
agents.reap_stale_merge_jobs();
|
||||
}
|
||||
|
||||
// Sweep: promote done→archived every sweep_interval_secs ticks.
|
||||
|
||||
Reference in New Issue
Block a user