Files
hermes-agent/cron
teknium1 27144dd59a fix: the wedged-cron drain check parses jobs.json once per run (review follow-up)
get_wedged_job_ids called cron.jobs.get_job (a full jobs.json load) per in-flight
job, and the restart drain invokes it on the event loop every 0.1 s for the whole
wait: 3 running jobs x 600 s = ~18,000 parses. Resolve each run's allowance once
(cached per job_id while it is registered, dropped on release) from a single
load_jobs() call.
2026-09-20 12:24:10 -07:00
..