feat: add pool runtime setters
[poolifier.git] / src / pools / selection-strategies / fair-share-worker-choice-strategy.ts
index 81944f7a6c1d0342889b716a26be5b23cc34034e..4d6ef2a828fc2b21cd2356886118649e5baacd4f 100644 (file)
@@ -52,7 +52,7 @@ export class FairShareWorkerChoiceStrategy<
     opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
   ) {
     super(pool, opts)
-    this.checkOptions(opts)
+    this.checkOptions(this.opts)
   }
 
   /** @inheritDoc */