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