perf: allow finer grained control over tasks usage computation
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 4 Apr 2023 12:36:34 +0000 (14:36 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 4 Apr 2023 12:36:34 +0000 (14:36 +0200)
commitc6bd2650c2690bd84951a2278820adde1b05b41b
tree0f95284949b173ce054005ddc59458be3b062332
parentd0a3f018e1bcd5acdd56bb1b566d90b97e4f13c7
perf: allow finer grained control over tasks usage computation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
CHANGELOG.md
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/selection-strategies-types.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts
tests/pools/selection-strategies/selection-strategies.test.js