feat: add pool runtime setters
[poolifier.git] / src / pools / selection-strategies / round-robin-worker-choice-strategy.ts
index 107e9639b38466e3d832fd217885b21b27206f12..d2d6f6d6574a23b092da2323957b312deee13d4d 100644 (file)
@@ -32,7 +32,7 @@ export class RoundRobinWorkerChoiceStrategy<
     opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
   ) {
     super(pool, opts)
-    this.checkOptions(opts)
+    this.checkOptions(this.opts)
   }
 
   /** @inheritDoc */