refactor: prepare worker choice strategies code for worker readiness
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 10 Jul 2023 11:12:43 +0000 (13:12 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 10 Jul 2023 11:12:43 +0000 (13:12 +0200)
commit9b1068374b1a52479b07e1e22b692289d5579237
tree9219e5cc87d70d670d3440a34a3dac00c65a89d2
parent8e5ca0401467b0a5c40b20a40ef08db6c05b9561
refactor: prepare worker choice strategies code for worker readiness

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
13 files changed:
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/weighted-round-robin-worker-choice-strategy.ts
tests/pools/cluster/dynamic.test.js
tests/pools/selection-strategies/selection-strategies.test.js
tests/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.test.js
tests/pools/thread/dynamic.test.js