refactor: limit pool internals public exposure
[poolifier.git] / src / pools / cluster / dynamic.ts
index cae9970006fdc1c62bb030d77802cac98eb9ff51..eb86ba853170f5edc83a7bd181e5fb9c45b172d5 100644 (file)
@@ -26,7 +26,7 @@ export class DynamicClusterPool<
    */
   public constructor (
     min: number,
-    public readonly max: number,
+    protected readonly max: number,
     filePath: string,
     opts: ClusterPoolOptions = {}
   ) {