mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
A frozen asyncio loop mid-SIGTERM drain cannot run the drain timeout or status rewrites, so KeepAlive never sees a dead process. Arm an OS-thread watchdog at stop() (drain+60s → faulthandler dump + os._exit) and rewrite state/gateway.heartbeat from a loop task for external liveness checks. |
||
|---|---|---|
| .. | ||
| 66892-shutdown-drain-watchdog.png | ||