refactor: limit pool internals public exposure
[poolifier.git] / src / pools / thread / dynamic.ts
index 04931b7423423002c6130cd4b07ee0631684ae7b..8cdb0d5c6328d318798d4465f1a5a07aeb338c2a 100644 (file)
@@ -26,7 +26,7 @@ export class DynamicThreadPool<
    */
   public constructor (
     min: number,
-    public readonly max: number,
+    protected readonly max: number,
     filePath: string,
     opts: PoolOptions<ThreadWorkerWithMessageChannel> = {}
   ) {