docs: sync worker choice context constructor comment
[poolifier.git] / src / pools / cluster / dynamic.ts
index 79f684cbd39a2990f0b7f968e41cf7dda9d70569..b84a80ce2b31b7fc807bceae6b29e1a7eb2af5bd 100644 (file)
@@ -27,24 +27,24 @@ export class DynamicClusterPool<
    */
   public constructor (
     min: number,
-    private readonly max: number,
+    public readonly max: number,
     filePath: string,
     opts: ClusterPoolOptions = {}
   ) {
     super(min, filePath, opts)
   }
 
-  /** {@inheritDoc} */
+  /** @inheritDoc */
   public get type (): PoolType {
     return PoolType.DYNAMIC
   }
 
-  /** {@inheritDoc} */
+  /** @inheritDoc */
   public get full (): boolean {
     return this.workers.length === this.max
   }
 
-  /** {@inheritDoc} */
+  /** @inheritDoc */
   public get busy (): boolean {
     return this.full && this.findFreeWorkerKey() === -1
   }