fix: avoid out of bound at worker node removal
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 31 Aug 2023 23:16:57 +0000 (01:16 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 31 Aug 2023 23:16:57 +0000 (01:16 +0200)
commit226b02a3e2b3619cbe967634ccd6ac7b5d450147
tree09a01ed7a790f20ee7999644dffbb7751cfbbd76
parent86ed05989a886c9e44d5be0089d5381debfb2294
fix: avoid out of bound at worker node removal

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/selection-strategies/interleaved-weighted-round-robin-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