docs: update changelog entries
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 9 Apr 2023 22:26:16 +0000 (00:26 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 9 Apr 2023 22:26:16 +0000 (00:26 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
CHANGELOG.md
src/pools/abstract-pool.ts

index 414d2355ac581b6ae7d4a5dff5cb11fed1d7daf3..4c65d78e16582e7575c21a1407ad91177f9cdb5c 100644 (file)
@@ -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
 
index a6f223e674bb4bb2d18e5df8e61f0b6132d62c8f..6548eba30189c2491bc244eb6e7e168b395b14f0 100644 (file)
@@ -568,7 +568,6 @@ export abstract class AbstractPool<
       for (const task of this.workerNodes[workerNodeKey].tasksQueue) {
         this.executeTask(workerNodeKey, task)
       }
-      this.workerNodes[workerNodeKey].tasksQueue = []
     }
   }