mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-11 20:13:30 +08:00
feat: auto-pause ecc2 sessions when budgets are exceeded
This commit is contained in:
@@ -899,6 +899,7 @@ fn sync_runtime_session_metrics(
|
||||
) -> Result<()> {
|
||||
db.refresh_session_durations()?;
|
||||
db.sync_cost_tracker_metrics(&cfg.cost_metrics_path())?;
|
||||
let _ = session::manager::enforce_budget_hard_limits(db, cfg)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user