Refine attributes scope in dynamic pool code
[poolifier.git] / src / pools / thread / dynamic.ts
index 9ba218997195f09087145fed8ae7a0ce0edd0519..a6cc209a8bbd7c2b88732f986ccc066484f7b63d 100644 (file)
@@ -28,7 +28,7 @@ export class DynamicThreadPool<
    */
   public constructor (
     min: number,
-    public readonly max: number,
+    protected readonly max: number,
     filePath: string,
     opts: PoolOptions<ThreadWorkerWithMessageChannel> = {}
   ) {