From: Jérôme Benoit Date: Wed, 31 May 2023 10:00:32 +0000 (+0200) Subject: refactor: methods namespace cleanup X-Git-Tag: v2.5.0~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=740012800a83bfde1ed975b37cbc8d368506283e;p=poolifier.git refactor: methods namespace cleanup Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 724785f5..f32aab0d 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -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 ): void {