add host-side turn-stats vacuum (90d retention, hourly sweep)
This commit is contained in:
parent
d0b65b1f47
commit
6f7cc6e77d
2 changed files with 64 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ mod crash_watch;
|
|||
mod dashboard;
|
||||
mod dashboard_events;
|
||||
mod events_vacuum;
|
||||
mod stats_vacuum;
|
||||
mod forge;
|
||||
mod lifecycle;
|
||||
mod limits;
|
||||
|
|
@ -168,6 +169,9 @@ async fn main() -> Result<()> {
|
|||
// Per-agent events.sqlite vacuum: host-side so the harness
|
||||
// doesn't need any retention wiring of its own.
|
||||
events_vacuum::spawn(coord.clone());
|
||||
// Per-agent turn-stats.sqlite vacuum: same pattern, 90-day
|
||||
// retention so trend analysis has enough history.
|
||||
stats_vacuum::spawn(coord.clone());
|
||||
// Container crash watcher: emits HelperEvent::ContainerCrash
|
||||
// when a previously-running container goes away without an
|
||||
// operator-initiated transient state.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue