fix: ensure worker node cannot be instantiaed without proper arguments
[poolifier.git] / src / pools / cluster / dynamic.ts
index 75296f7a1a894d45b51b65727610f53f361d6fc9..b93d7e87c4290a21b8a9b8f7c2845647d05592da 100644 (file)
@@ -39,11 +39,6 @@ export class DynamicClusterPool<
     return PoolTypes.dynamic
   }
 
-  /** @inheritDoc */
-  protected get maxSize (): number {
-    return this.max
-  }
-
   /** @inheritDoc */
   protected get busy (): boolean {
     return this.full && this.internalBusy()