mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
fix(monitoring): drain terminal lifecycle events
This commit is contained in:
parent
4dc4f4302a
commit
18b4664543
7 changed files with 139 additions and 33 deletions
|
|
@ -72,6 +72,7 @@ def main() -> None:
|
|||
logging.getLogger("gateway.platforms.slack").warning("Slack token *** rejected for smoke@example.com")
|
||||
emitter.get_emitter().flush(timeout=2.0)
|
||||
time.sleep(args.wait)
|
||||
write_runtime_status(gateway_state="stopped", active_agents=0)
|
||||
runtime.shutdown()
|
||||
emitter.get_emitter().flush(timeout=2.0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue