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

bunqueue v2.6.81

Fixes 1 bug. Worker API enhancements, worker options now fully wired.

bun add bunqueue@2.6.81
npm install bunqueue@2.6.81
bun add bunqueue@latest
  • Cleaned up 7 unimplemented WorkerOptions stubs that were type-only (now all options are wired to actual behavior)

(BullMQ v5 compatibility):

  • concurrency getter/setter, change concurrency at runtime without restarting the worker
  • closing property, Promise that resolves when close() finishes
  • off() typed overloads, remove event listeners with full TypeScript support
  • name and opts are now public readonly properties
  • skipLockRenewal, disables heartbeat timer when true
  • skipStalledCheck, disables stalled event subscription when true
  • drainDelay, configurable delay between polls when queue is drained (default: 50ms, was hardcoded)
  • lockDuration, stored in opts with default 30000ms
  • maxStalledCount, stored in opts with default 1
  • removeOnComplete / removeOnFail, worker-level defaults applied to all processed jobs
  • drainDelay default corrected from 5000ms to 50ms in documentation

← bunqueue v2.6.80 · Full changelog · All posts