From: Jérôme Benoit Date: Thu, 8 Jun 2023 17:38:34 +0000 (+0200) Subject: refactor: cleanup X-Git-Tag: v2.6.0~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c3c5b1b661042ee1e3f8d04a01974dcfe7bd6a82;p=poolifier.git refactor: cleanup Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 51f77901..e4947cdc 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -311,8 +311,8 @@ export abstract class AbstractPool< for (const workerNode of this.workerNodes) { this.setWorkerNodeTasksUsage(workerNode, { tasks: { - executing: 0, executed: 0, + executing: 0, queued: this.opts.enableTasksQueue === true ? workerNode.tasksQueue.size