feat: add worker choice strategies retry mechanism
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 18 Aug 2023 14:26:04 +0000 (16:26 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 18 Aug 2023 14:26:04 +0000 (16:26 +0200)
commit8990357d855c45cd0063f24092bb58b4163ddb0a
tree782d0580f83ad6fcd4b2f6a70a44c06810b804e8
parent9768f49f952bcb39789e9b7b5679e1d635cb262d
feat: add worker choice strategies retry mechanism

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