fix: destroy worker only on check alive checks
[poolifier.git] / src / pools / cluster / dynamic.ts
index 6171ce4e8a4b51991294677b680e9373d8e64313..b84a80ce2b31b7fc807bceae6b29e1a7eb2af5bd 100644 (file)
@@ -27,7 +27,7 @@ export class DynamicClusterPool<
    */
   public constructor (
     min: number,
-    private readonly max: number,
+    public readonly max: number,
     filePath: string,
     opts: ClusterPoolOptions = {}
   ) {