From: Jérôme Benoit Date: Mon, 29 May 2023 20:53:57 +0000 (+0200) Subject: refactor: remove unused method argument X-Git-Tag: v2.5.0~9^2^2~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f20f344f672374fbb1d8885f74516d30ff201f7f;p=poolifier.git refactor: remove unused method argument Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 81012fa0..ce885dde 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -415,10 +415,7 @@ export abstract class AbstractPool< * * @param workerNodeKey - The worker node key. */ - protected beforeTaskExecutionHook ( - workerNodeKey: number, - task: Task - ): void { + protected beforeTaskExecutionHook (workerNodeKey: number): void { ++this.workerNodes[workerNodeKey].tasksUsage.running }