bunqueue v2.6.36
blog · release
bunqueue v2.6.36
Fixes 1 bug. /queues/:queue/jobs/list performance: Endpoint was taking 300-450ms even with limit=2 because it scanned the entire jobIndex (O(N) iterations + O(N) individual SQLite lookups) then sorted all results.
To install bunqueue v2.6.36
Section titled “To install bunqueue v2.6.36”bun add bunqueue@2.6.36npm install bunqueue@2.6.36To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestBugfixes
Section titled “Bugfixes”/queues/:queue/jobs/listperformance: Endpoint was taking 300-450ms even withlimit=2because it scanned the entire jobIndex (O(N) iterations + O(N) individual SQLite lookups) then sorted all results. Now delegates to a single indexed SQLite query withLIMIT/OFFSET, reducing response time to <5ms.
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.6.35 · Release on GitHub · Commits since v2.6.35 · Full changelog · All posts