Skip to content
Get started
Get started
bunqueue v2.6.116
View Markdown
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.

bun add bunqueue@2.6.116
npm install bunqueue@2.6.116
bun add bunqueue@latest
  • 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), allowing every() / cron() to create duplicate jobs. The fix checks processingShards and waitingDeps before considering a queue “empty”. Fixes #80.

← bunqueue v2.6.115 · Release on GitHub · Commits since v2.6.115 · Full changelog · All posts