refactor: use simple quote in error string
[poolifier.git] / src / pools / cluster / dynamic.ts
index c42e02b0cbfc0fc2ea0b2cd53f200739650f8267..eb2b996571f665ff14154cf338c387c5dfa28266 100644 (file)
@@ -39,6 +39,11 @@ export class DynamicClusterPool<
     return PoolType.DYNAMIC
   }
 
+  /** @inheritDoc */
+  public get size (): number {
+    return this.max
+  }
+
   /** @inheritDoc */
   protected get full (): boolean {
     return this.workerNodes.length === this.max