hermes-agent/cron
Teknium df67ae730b
fix(cron): close abandoned coroutine when asyncio.run() raises RuntimeError
Cherry-picked from PR #2290 by @Mibayy. Closes #2138.

When asyncio.run() raises RuntimeError (running loop exists), the
coroutine was created but never awaited, producing a RuntimeWarning
on GC. Extract coro before try, call coro.close() in the except
branch before falling back to ThreadPoolExecutor.
2026-03-21 07:20:58 -07:00
..
__init__.py docs: clarify gateway service scopes (#1378) 2026-03-14 21:17:41 -07:00
jobs.py fix(cron): recover recent one-shot jobs (#1918) 2026-03-18 04:06:02 -07:00
scheduler.py fix(cron): close abandoned coroutine when asyncio.run() raises RuntimeError 2026-03-21 07:20:58 -07:00