From: Jérôme Benoit Date: Fri, 16 Jun 2023 20:28:12 +0000 (+0200) Subject: fix: update worker choice internals without tasks queuing X-Git-Tag: v2.6.3~17 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e5536a06df85c554b8832f5fb5195b369258053b;p=poolifier.git fix: update worker choice internals without tasks queuing Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 8363ecba..13bc904a 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -766,8 +766,8 @@ export abstract class AbstractPool< workerNodeKey, this.dequeueTask(workerNodeKey) as Task ) - this.workerChoiceStrategyContext.update(workerNodeKey) } + this.workerChoiceStrategyContext.update(workerNodeKey) } } }