refactor: remove unused method argument
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 29 May 2023 20:53:57 +0000 (22:53 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 29 May 2023 20:53:57 +0000 (22:53 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts

index 81012fa0b4f736559fca73eb395bf7c622bce48a..ce885ddee31abfec7f77916f458b5c4f741482e2 100644 (file)
@@ -415,10 +415,7 @@ export abstract class AbstractPool<
    *
    * @param workerNodeKey - The worker node key.
    */
-  protected beforeTaskExecutionHook (
-    workerNodeKey: number,
-    task: Task<Data>
-  ): void {
+  protected beforeTaskExecutionHook (workerNodeKey: number): void {
     ++this.workerNodes[workerNodeKey].tasksUsage.running
   }