Refine attributes scope in dynamic pool code
[poolifier.git] / src / pools / cluster / dynamic.ts
index 3c077876f8ac49cf44477f840b864e89e63b980a..a90e586039c6a2cc5f841618a0223aa0675983be 100644 (file)
@@ -27,7 +27,7 @@ export class DynamicClusterPool<
    */
   public constructor (
     min: number,
-    public readonly max: number,
+    protected readonly max: number,
     filePath: string,
     opts: ClusterPoolOptions = {}
   ) {