X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Fdynamic.ts;h=78c63aca64d8da1e879c723bd0fd064f46de83ee;hb=c319c66bad0611acf6087950a1f8a20f8124167b;hp=92f0068e0bad123633b62798f97435a87a0f010b;hpb=c4855468bc26a7ee37d2c8ef34bb1ac864448e77;p=poolifier.git diff --git a/src/pools/cluster/dynamic.ts b/src/pools/cluster/dynamic.ts index 92f0068e..78c63aca 100644 --- a/src/pools/cluster/dynamic.ts +++ b/src/pools/cluster/dynamic.ts @@ -40,12 +40,12 @@ export class DynamicClusterPool< } /** @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() } }