refactor: cleanup
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 8 Jun 2023 17:38:34 +0000 (19:38 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 8 Jun 2023 17:38:34 +0000 (19:38 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts

index 51f77901383181f04725ca1bb84ec1c60f241855..e4947cdc6b6caeca4c77d485d8b15d83c3591272 100644 (file)
@@ -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