build(deps-dev): apply updates
[poolifier.git] / src / pools / selection-strategies / less-busy-worker-choice-strategy.ts
index 8feac71c27f10a2cf1fc91ca8b559ebbc0543e89..f518f9b17f311ad3a8ad262e3b7e5f0be15cc61b 100644 (file)
@@ -35,7 +35,7 @@ export class LessBusyWorkerChoiceStrategy<
     opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
   ) {
     super(pool, opts)
-    this.checkOptions(this.opts)
+    this.setRequiredStatistics(this.opts)
   }
 
   /** @inheritDoc */
@@ -69,7 +69,7 @@ export class LessBusyWorkerChoiceStrategy<
   }
 
   /** @inheritDoc */
-  public remove (workerNodeKey: number): boolean {
+  public remove (): boolean {
     return true
   }
 }