bunqueue v2.6.81
blog · release
bunqueue v2.6.81
Fixes 1 bug. Worker API enhancements, worker options now fully wired.
To install bunqueue v2.6.81
Section titled “To install bunqueue v2.6.81”bun add bunqueue@2.6.81npm install bunqueue@2.6.81To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestRemoved
Section titled “Removed”- Cleaned up 7 unimplemented WorkerOptions stubs that were type-only (now all options are wired to actual behavior)
Worker API enhancements
Section titled “Worker API enhancements”(BullMQ v5 compatibility):
concurrencygetter/setter, change concurrency at runtime without restarting the workerclosingproperty, Promise that resolves whenclose()finishesoff()typed overloads, remove event listeners with full TypeScript supportnameandoptsare now public readonly properties
Worker options now fully wired
Section titled “Worker options now fully wired”skipLockRenewal, disables heartbeat timer whentrueskipStalledCheck, disables stalled event subscription whentruedrainDelay, configurable delay between polls when queue is drained (default: 50ms, was hardcoded)lockDuration, stored in opts with default 30000msmaxStalledCount, stored in opts with default 1removeOnComplete/removeOnFail, worker-level defaults applied to all processed jobs
Bugfixes
Section titled “Bugfixes”drainDelaydefault corrected from 5000ms to 50ms in documentation