fix(#942): wire bash_tasks_vacuum spawn into main.rs
This commit is contained in:
parent
5880328831
commit
0f62eca356
1 changed files with 5 additions and 2 deletions
|
|
@ -13,8 +13,8 @@ use hive_sh4re::{HostRequest, HostResponse};
|
|||
use hive_c0re::coordinator::Coordinator;
|
||||
use hive_c0re::{
|
||||
agent_sockets, auto_update, broker, client, crash_watch, dashboard, dashboard_events,
|
||||
events_vacuum, forge, manager_server, matrix, migrate, rebuild_queue, reminder_scheduler,
|
||||
scheduled_prompts_worker, server, stats_vacuum,
|
||||
bash_tasks_vacuum, events_vacuum, forge, manager_server, matrix, migrate, rebuild_queue,
|
||||
reminder_scheduler, scheduled_prompts_worker, server, stats_vacuum,
|
||||
};
|
||||
|
||||
#[derive(Parser)]
|
||||
|
|
@ -250,6 +250,9 @@ async fn cmd_serve(
|
|||
// Per-agent turn-stats.sqlite vacuum: same pattern, 90-day
|
||||
// retention so trend analysis has enough history.
|
||||
stats_vacuum::spawn(&coord);
|
||||
// Per-agent bash-tasks file vacuum: host-side so the harness
|
||||
// cannot disable it. Deletes terminal task trios older than 48h.
|
||||
bash_tasks_vacuum::spawn(&coord);
|
||||
// build_logs.sqlite vacuum: c0re-side (single db). Failures kept
|
||||
// 30d, successes 24h — see `build_logs::vacuum` for the rule.
|
||||
hive_c0re::build_logs::spawn_vacuum(&coord);
|
||||
|
|
|
|||
Loading…
Reference in a new issue