Files
cobble/src/bots-queue
tben 9f03120526
CI / check (push) Canceled after 0s
Release image / image (release) Canceled after 0s
Release image / computer-image (release) Canceled after 0s
Share one model bench between the queue and the API, and wake the jobs it parks
A run-limits save cleared the API bundle's copy of the cooldowns while the queue kept its own benches, so a model set to rest until the setting changed stayed benched until a restart, and the job it deferred slept out its day-long available_at with nothing left to wait for.

The cooldown object now lives on a globalCache slot (cobble.harnessCooldowns), and both the run-limits save and queue startup release the jobs a rest parked ahead of time (releaseRestingBotJobs), sparing any job that really failed a turn.
2026-11-18 08:52:36 +01:00
..