feat: add pool and worker readyness tracking infrastructure
[poolifier.git] / src / pools / thread / dynamic.ts
index b03ca47e27ab272233338e8e4fb751bb8de0d0e4..1d3f3f5d3c64d0d94a367c17f92a6df1d2b4d75f 100644 (file)
@@ -31,6 +31,7 @@ export class DynamicThreadPool<
     opts: ThreadPoolOptions = {}
   ) {
     super(min, filePath, opts)
+    this.checkDynamicPoolSize(this.numberOfWorkers, this.max)
   }
 
   /** @inheritDoc */