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=2fb233ea3f8d44a2b8d234dbfccedfe33ab9e5db;hp=0fc1e0da3da3e8319cb71e90308e324e64fa82bd;hpb=39a43af7ad68492916bd118e29fde53cec533cfa;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;