]> Piment Noir Git Repositories - poolifier.git/commit
fix: task queueing fixes (#2912)
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 6 Jul 2025 18:40:58 +0000 (20:40 +0200)
committerGitHub <noreply@github.com>
Sun, 6 Jul 2025 18:40:58 +0000 (20:40 +0200)
commit8a2bf757c04a2056ff94dda488e87d817c7291d5
tree558d533fab5d5e57d23537a856d2e605506b74b9
parent0961d2de5e99f1c9ea11db7d317bdf6ca9ef2af1
fix: task queueing fixes (#2912)

* fix: task queueing fixes

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
* refactor: code cleanups

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
* fix: worker removal in IWRR worker selection

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
---------

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
23 files changed:
package.json
pnpm-lock.yaml
src/circular-buffer.ts
src/pools/abstract-pool.ts
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts
src/pools/selection-strategies/interleaved-weighted-round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/least-busy-worker-choice-strategy.ts
src/pools/selection-strategies/least-elu-worker-choice-strategy.ts
src/pools/selection-strategies/least-used-worker-choice-strategy.ts
src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/worker-choice-strategies-context.ts
src/pools/worker-node.ts
src/queues/abstract-fixed-queue.ts
src/queues/fixed-priority-queue.ts
src/queues/priority-queue.ts
src/queues/queue-types.ts
src/worker/utils.ts
tests/circular-buffer.test.mjs
tests/pools/selection-strategies/selection-strategies.test.mjs
tests/pools/worker-node.test.mjs
tests/worker/abstract-worker.test.mjs