refactor: factor out worker runtime getter
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 13 May 2023 13:40:46 +0000 (15:40 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 13 May 2023 13:40:46 +0000 (15:40 +0200)
commitf6b641d651fdd5114bcd63bf1c991955d5b7d3eb
treea72a737c86be227b17c35c447d7b5e4cf15a2bd0
parent0509fd43c1e920aed11ba50293062eaf167bef44
refactor: factor out worker runtime getter

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