bunqueue v2.6.116
blog · release
bunqueue v2.6.116
Fixes 1 bug. Deduplication broken for long-running scheduled jobs: cleanEmptyQueues() was deleting unique-key entries for queues whose priority queue was empty, even when jobs holding those keys were still actively processing.
To install bunqueue v2.6.116
Section titled “To install bunqueue v2.6.116”bun add bunqueue@2.6.116npm install bunqueue@2.6.116To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestBugfixes
Section titled “Bugfixes”- Deduplication broken for long-running scheduled jobs:
cleanEmptyQueues()was deleting unique-key entries for queues whose priority queue was empty, even when jobs holding those keys were still actively processing. This caused the dedup guard to be wiped every ~10 s (the cleanup interval), allowingevery()/cron()to create duplicate jobs. The fix checksprocessingShardsandwaitingDepsbefore considering a queue “empty”. Fixes #80.
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.6.115 · Release on GitHub · Commits since v2.6.115 · Full changelog · All posts