fix: fix workey weights input validation
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 8 May 2023 10:49:01 +0000 (12:49 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 8 May 2023 10:49:01 +0000 (12:49 +0200)
commit49be33feded000ed776ee589274e154fa519b263
treed3d9f85eb9905d87e480ecf78ff5ba07aff82b1e
parentfa418e129ade4cd910e34e9d41c3dfa5cac9b2de
fix: fix workey weights input validation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
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/less-busy-worker-choice-strategy.ts
src/pools/selection-strategies/less-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
src/queue.ts
tests/pools/abstract/abstract-pool.test.js