Skip to content
Get started
Get started
bunqueue v2.4.3
View Markdown
blog · release

bunqueue v2.4.3

Fixes 2 bugs. Batch push now wakes all waiting workers - pushJobBatch previously called notify() only once, causing only 1 of N waiting workers to wake up immediately.

bun add bunqueue@2.4.3
npm install bunqueue@2.4.3
bun add bunqueue@latest
  • Batch push now wakes all waiting workers - pushJobBatch previously called notify() only once, causing only 1 of N waiting workers to wake up immediately. Others had to wait for their poll timeout (up to 30s with long-poll). Now each inserted job triggers a separate notification, waking all idle workers instantly.
  • Pending notifications counter - WaiterManager.pendingNotification was a boolean flag, silently losing notifications when multiple pushes occurred with no waiting workers. Changed to an integer counter (pendingNotifications) so each notification is tracked and consumed individually.

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