fix: update worker choice internals without tasks queuing
[poolifier.git] / src / pools / abstract-pool.ts
index ac4cb31ed4576bcce9fea5dbab191e1bc11c103b..13bc904a07bf12a02f1958991c53ef54a21889c2 100644 (file)
@@ -767,6 +767,7 @@ export abstract class AbstractPool<
               this.dequeueTask(workerNodeKey) as Task<Data>
             )
           }
+          this.workerChoiceStrategyContext.update(workerNodeKey)
         }
       }
     }