refactor: factor out pool fullness detection
[poolifier.git] / src / pools / cluster / dynamic.ts
index eb86ba853170f5edc83a7bd181e5fb9c45b172d5..b75b3f800d8dc771176b7f11fa437b3fedab867e 100644 (file)
@@ -43,11 +43,6 @@ export class DynamicClusterPool<
     return this.max
   }
 
-  /** @inheritDoc */
-  protected get full (): boolean {
-    return this.workerNodes.length >= this.max
-  }
-
   /** @inheritDoc */
   protected get busy (): boolean {
     return this.full && this.internalBusy()