feat: conditional task performance computation at the worker level
[poolifier.git] / src / pools / selection-strategies / round-robin-worker-choice-strategy.ts
index be4fe3326b9585c8bd4f7261023cda4fe5af710e..afdff788bf69eb999c2c4cc4ec08a59692c28fce 100644 (file)
@@ -32,7 +32,7 @@ export class RoundRobinWorkerChoiceStrategy<
     opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
   ) {
     super(pool, opts)
-    this.setRequiredStatistics(this.opts)
+    this.setTaskStatistics(this.opts)
   }
 
   /** @inheritDoc */