fix: ensure the number of worker choice retries is enough for WRR
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 19 Dec 2023 22:47:23 +0000 (23:47 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 19 Dec 2023 22:47:23 +0000 (23:47 +0100)
commit449cd15417158c0d1675a8aec8bcc514ff33b5a3
tree11c3a77010d03718eb1729e7368fcf9ec10f18e0
parentaf7f2788b6fcc39343d544551cf17c8f0dc5b757
fix: ensure the number of worker choice retries is enough for WRR

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
src/utils.ts
tests/pools/abstract-pool.test.mjs