fix: fix workey weights input validation
[poolifier.git] / src / pools / selection-strategies / fair-share-worker-choice-strategy.ts
index 3a2e71eea4fcbc3af3c0f35162639747cda171a7..0ae939949b1c115918db6bb1f33dfab2e253191a 100644 (file)
@@ -41,7 +41,7 @@ export class FairShareWorkerChoiceStrategy<
     opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
   ) {
     super(pool, opts)
-    this.checkOptions(this.opts)
+    this.setRequiredStatistics(this.opts)
   }
 
   /** @inheritDoc */