fix: fix task dequeuing from the last bucket
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 28 May 2024 17:42:19 +0000 (19:42 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 28 May 2024 17:42:19 +0000 (19:42 +0200)
commite75373e6b8ed2882c1b8dd7eedc8ca9217582121
tree1ec443ae28d0debae7a9bd05d561e653f55e877f
parent9df282a07ef35012409d7d08207e6df983a7e905
fix: fix task dequeuing from the last bucket

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/fixed-priority-queue.ts
src/pools/worker-node.ts
src/priority-queue.ts
tests/priority-queue.test.mjs