fix: refine possible null exception fix at task response handling
[poolifier.git] / src / pools / selection-strategies / round-robin-worker-choice-strategy.ts
index aa3ee108ced7d528f1d5ea90204c4306f841226c..7c49cec75689a8ca64aa101b51ec8f86890f1409 100644 (file)
@@ -46,6 +46,7 @@ export class RoundRobinWorkerChoiceStrategy<
     const chosenWorkerNodeKey = this.nextWorkerNodeKey
     this.setPreviousWorkerNodeKey(chosenWorkerNodeKey)
     this.roundRobinNextWorkerNodeKey()
+    this.checkNextWorkerNodeReadiness()
     return chosenWorkerNodeKey
   }