From c3c5b1b661042ee1e3f8d04a01974dcfe7bd6a82 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 8 Jun 2023 19:38:34 +0200 Subject: [PATCH] refactor: cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/abstract-pool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1