fix: ensure tasks are distributed equally at less used and less busy
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 3 Apr 2023 21:38:29 +0000 (23:38 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 3 Apr 2023 21:38:29 +0000 (23:38 +0200)
commitcf9c7b65548f4d3a4e95e87731ae1c40766d48fb
tree54744dea86960bd63b0eb8b2a9f9d90e3b7813f3
parent7cf00f70a6dffca3af737ea9193a6c3be69ac0b7
fix: ensure tasks are distributed equally at less used and less busy
strategy startup

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/selection-strategies/less-busy-worker-choice-strategy.ts
src/pools/selection-strategies/less-used-worker-choice-strategy.ts