fix: ensure worker key can't be negative in worker choice strategies
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Apr 2023 22:14:49 +0000 (00:14 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Apr 2023 22:14:49 +0000 (00:14 +0200)
commit78ab25556596c9ca877bb08407559b8156abc819
tree80bebe48dae028b1603fd88088b17d7d19f26e67
parent6533c3e6b6a95daade8d20577d6b816512e2aeeb
fix: ensure worker key can't be negative in worker choice strategies

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
CHANGELOG.md
src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts