From 765457872257684691f93befb94175a2aaa83502 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 10 Apr 2023 00:26:16 +0200 Subject: [PATCH] docs: update changelog entries MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- CHANGELOG.md | 1 + src/pools/abstract-pool.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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 = [] } } -- 2.34.1