mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-06 05:17:15 +00:00
poll_container and the dashboard _http_probe slept a full interval after every failed probe, even when less time than that was left, so a poll could run up to one interval past the deadline its caller gave. Clamp the sleep to the time remaining. The overrun never turned a failure into a pass; it only made the deadline inexact. Pre-existing: the poll_container sleep sincec918d07b50(#51024, @ethernet8023, 2026-06-22); the _http_probe sleep sincefb51253620(#34188, @benbarclay, 2026-05-29).