fix: fix worker choice strategy retries mechanism on some edge cases
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 19 Aug 2023 15:40:41 +0000 (17:40 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 19 Aug 2023 15:40:41 +0000 (17:40 +0200)
commitb1aae69557f4f5c524f665e92882b76f23a19866
tree610ccb22d818ff362c8b0ae4fcb117e7389ffc9a
parent962b9863b80f507c6ce307f9b65b69fe2feb6081
fix: fix worker choice strategy retries mechanism on some edge cases

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
13 files changed:
CHANGELOG.md
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/selection-strategies-types.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts
tests/pools/abstract/abstract-pool.test.js
tests/pools/selection-strategies/selection-strategies.test.js