fix: fix workey weights input validation
[poolifier.git] / src / pools / selection-strategies / round-robin-worker-choice-strategy.ts
index e99383caf977bec57a28d158b7c147806ed41fcb..be4fe3326b9585c8bd4f7261023cda4fe5af710e 100644 (file)
@@ -32,7 +32,7 @@ export class RoundRobinWorkerChoiceStrategy<
     opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
   ) {
     super(pool, opts)
-    this.checkOptions(this.opts)
+    this.setRequiredStatistics(this.opts)
   }
 
   /** @inheritDoc */