X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Fdynamic.ts;h=75296f7a1a894d45b51b65727610f53f361d6fc9;hb=197b4aa5aa76186bbe6f9274d455f4bdb8baa637;hp=a9ccd6977255bcadc43bee150d8684a3ee3ad75e;hpb=e102732c0e3966b81834b2c0bdd087eb051162ad;p=poolifier.git diff --git a/src/pools/cluster/dynamic.ts b/src/pools/cluster/dynamic.ts index a9ccd697..75296f7a 100644 --- a/src/pools/cluster/dynamic.ts +++ b/src/pools/cluster/dynamic.ts @@ -31,6 +31,7 @@ export class DynamicClusterPool< opts: ClusterPoolOptions = {} ) { super(min, filePath, opts) + this.checkDynamicPoolSize(this.numberOfWorkers, this.max) } /** @inheritDoc */