refactor: methods namespace cleanup
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 31 May 2023 10:00:32 +0000 (12:00 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 31 May 2023 10:00:32 +0000 (12:00 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts

index 724785f534b6a4c3b971d97aad8b7d7d598de666..f32aab0dc838409e2514bf0377c4ba9276180579 100644 (file)
@@ -438,7 +438,7 @@ export abstract class AbstractPool<
       ++workerTasksUsage.error
     }
     this.updateRunTimeTasksUsage(workerTasksUsage, message)
-    this.updateWaitTasksUsage(workerTasksUsage, message)
+    this.updateWaitTimeTasksUsage(workerTasksUsage, message)
   }
 
   private updateRunTimeTasksUsage (
@@ -464,7 +464,7 @@ export abstract class AbstractPool<
     }
   }
 
-  private updateWaitTasksUsage (
+  private updateWaitTimeTasksUsage (
     workerTasksUsage: TasksUsage,
     message: MessageValue<Response>
   ): void {