refactor: conditionally reset strategy internals
[poolifier.git] / src / pools / thread / fixed.ts
index a37ccbf76b5864b8cc4f27b847596d7b9c533d38..2c4f66f0ff4d8be12d192f4028b1b1a17262bbc7 100644 (file)
@@ -96,8 +96,13 @@ export class FixedThreadPool<
     return PoolType.FIXED
   }
 
+  /** {@inheritDoc} */
+  public get full (): boolean {
+    return this.workers.length === this.numberOfWorkers
+  }
+
   /** {@inheritDoc} */
   public get busy (): boolean {
-    return this.internalGetBusyStatus()
+    return this.internalBusy()
   }
 }