fix: do not pre-choose in WRR strategy
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 31 Aug 2023 12:15:18 +0000 (14:15 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 31 Aug 2023 12:15:18 +0000 (14:15 +0200)
commitbaca80f7921f47ead05d194fb782a3e310f4ea41
tree009f878045731762c5147f1fe81ee4350837b64f
parentaa1e0433fcfdc47175d6144524bcda57ab2947a1
fix: do not pre-choose in WRR strategy

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/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