Merge branch 'master' of github.com:poolifier/poolifier
[poolifier.git] / src / pools / thread / dynamic.ts
index 0f901f7fdfc674b3c7761db870cf3ae29358c6ef..7bf477dd837c0ce3e30cb65ad308c32ca0774f48 100644 (file)
@@ -41,12 +41,12 @@ export class DynamicThreadPool<
   }
 
   /** @inheritDoc */
-  public get full (): boolean {
+  protected get full (): boolean {
     return this.workerNodes.length === this.max
   }
 
   /** @inheritDoc */
-  public get busy (): boolean {
+  protected get busy (): boolean {
     return this.full && this.internalBusy()
   }
 }