refactor: use builtin retry mechanism in worker choice strategies
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 20 Oct 2023 04:18:30 +0000 (06:18 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 20 Oct 2023 04:18:30 +0000 (06:18 +0200)
commita38b62f12dcf25476b2d0409edfa98f96a36da20
treea3e135588b1544b7907517a82845d1b64b6bdfbb
parentca57f271eeee850c946584ba7cb96e8fc5f84f8b
refactor: use builtin retry mechanism in worker choice strategies

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/interleaved-weighted-round-robin-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