fix: ensure worker choice strategy internals are reset
[poolifier.git] / src / pools / selection-strategies / interleaved-weighted-round-robin-worker-choice-strategy.ts
index 4b59a55461e7e92596c5ead2f7fdaca6eabf9d71..0fc1e0da3da3e8319cb71e90308e324e64fa82bd 100644 (file)
@@ -48,7 +48,7 @@ export class InterleavedWeightedRoundRobinWorkerChoiceStrategy<
 
   /** @inheritDoc */
   public reset (): boolean {
-    this.nextWorkerNodeKey = 0
+    this.resetWorkerNodeKeyProperties()
     this.roundId = 0
     return true
   }