bunqueue v2.6.103
blog · release
bunqueue v2.6.103
Fixes 1 bug. Cron jobs no longer fire immediately on client reconnect: when a TCP/WebSocket client disconnected while processing a cron job with preventOverlap, releaseClientJobs would re-queue the job as "waiting".
To install bunqueue v2.6.103
Section titled “To install bunqueue v2.6.103”bun add bunqueue@2.6.103npm install bunqueue@2.6.103To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestBugfixes
Section titled “Bugfixes”- Cron jobs no longer fire immediately on client reconnect: when a TCP/WebSocket client disconnected while processing a cron job with
preventOverlap,releaseClientJobswould re-queue the job as “waiting”. On reconnect, the worker would pick it up immediately instead of waiting for the next scheduled time. Now, cron jobs withpreventOverlap(uniqueKeycron:*) are discarded on disconnect, the cron scheduler re-creates them at the next scheduled tick (fixes #73).