refactor: align worker choice strategy options namespace
[poolifier.git] / src / pools / selection-strategies / round-robin-worker-choice-strategy.ts
index afdff788bf69eb999c2c4cc4ec08a59692c28fce..ea174552685de1ba859a879b893061fe91798de5 100644 (file)
@@ -32,7 +32,7 @@ export class RoundRobinWorkerChoiceStrategy<
     opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
   ) {
     super(pool, opts)
-    this.setTaskStatistics(this.opts)
+    this.setTaskStatisticsRequirements(this.opts)
   }
 
   /** @inheritDoc */