bunqueue v2.6.106
blog · release
bunqueue v2.6.106
Fixes 1 bug. Cron upsert now removes orphaned queued jobs: between client disconnect and reconnect, a cron tick could push a job while a stale worker was still within the heartbeat timeout window.
To install bunqueue v2.6.106
Section titled “To install bunqueue v2.6.106”bun add bunqueue@2.6.106npm install bunqueue@2.6.106To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestBugfixes
Section titled “Bugfixes”- Cron upsert now removes orphaned queued jobs: between client disconnect and reconnect, a cron tick could push a job while a stale worker was still within the heartbeat timeout window. This orphaned job would sit in the queue and be pulled immediately when a new worker connected. Now,
upsertJobSchedulerwithpreventOverlapremoves any existing queued job with the cron’s uniqueKey before re-registering the cron, ensuring a clean slate (fixes #73, code path 6/6).