X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fselection-strategies%2Finterleaved-weighted-round-robin-worker-choice-strategy.ts;h=86a7f5ca8f801c6b5e98dc380e9ee5dea80d37e3;hb=ecdd9f98583c14e55210b00b1cedabf360354709;hp=0fc1e0da3da3e8319cb71e90308e324e64fa82bd;hpb=956080721c92582029ccc48121d96aefab981365;p=poolifier.git diff --git a/src/pools/selection-strategies/interleaved-weighted-round-robin-worker-choice-strategy.ts b/src/pools/selection-strategies/interleaved-weighted-round-robin-worker-choice-strategy.ts index 0fc1e0da..86a7f5ca 100644 --- a/src/pools/selection-strategies/interleaved-weighted-round-robin-worker-choice-strategy.ts +++ b/src/pools/selection-strategies/interleaved-weighted-round-robin-worker-choice-strategy.ts @@ -60,7 +60,7 @@ export class InterleavedWeightedRoundRobinWorkerChoiceStrategy< /** @inheritDoc */ public choose (): number | undefined { - let roundId: number = this.roundId + let roundId!: number let workerNodeId: number | undefined for ( let roundIndex = this.roundId;