feat: add pool and worker readyness tracking infrastructure
[poolifier.git] / src / pools / cluster / dynamic.ts
index a9ccd6977255bcadc43bee150d8684a3ee3ad75e..75296f7a1a894d45b51b65727610f53f361d6fc9 100644 (file)
@@ -31,6 +31,7 @@ export class DynamicClusterPool<
     opts: ClusterPoolOptions = {}
   ) {
     super(min, filePath, opts)
+    this.checkDynamicPoolSize(this.numberOfWorkers, this.max)
   }
 
   /** @inheritDoc */