Skip to content

The agent that grows with you

fix(cli): increase dashboard kill timeout to prevent PTY child leaks and WAL corruption

AzurePii83f1b8830592
diff --git a/hermes_cli/dashboard_procs.py b/hermes_cli/dashboard_procs.py
index b0f7c2d3aa6..a4ee5552910 100644
--- a/hermes_cli/dashboard_procs.py
+++ b/hermes_cli/dashboard_procs.py
@@ -297,7 +297,7 @@ def _kill_pids_posix(pids: list[int], killed: list[int], failed: list[tuple[int,
for pid in pids:
_send(pid, _signal.SIGTERM)
- deadline = _time.monotonic() + 3.0
+ deadline = _time.monotonic() + 10.0
pending = [p for p in pids if p not in killed and p not in {f[0] for f in failed}]
while pending and _time.monotonic() < deadline:
_time.sleep(0.1)