From: Jérôme Benoit Date: Sun, 9 Apr 2023 22:26:16 +0000 (+0200) Subject: docs: update changelog entries X-Git-Tag: v2.4.6~8 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=765457872257684691f93befb94175a2aaa83502;p=poolifier.git docs: update changelog entries Signed-off-by: Jérôme Benoit --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 414d2355..4c65d78e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Ensure one task at a time is executed per worker with tasks queueing enabled. +- Properly count worker running tasks with tasks queueing enabled. ## [2.4.5] - 2023-04-09 diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index a6f223e6..6548eba3 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -568,7 +568,6 @@ export abstract class AbstractPool< for (const task of this.workerNodes[workerNodeKey].tasksQueue) { this.executeTask(workerNodeKey, task) } - this.workerNodes[workerNodeKey].tasksQueue = [] } }