X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Fdynamic.ts;h=89180f1f161d9351190189ff06cd7e76a40f30d5;hb=f9f00b5f18805c14b1bac3b2e5d2e8b5abc6c66c;hp=9f9abb01ddaa5f3015ef4a08bd2ee046dc9312c9;hpb=f06e48d8e14dcfe3277bd16b1bd2463136af13e6;p=poolifier.git diff --git a/src/pools/cluster/dynamic.ts b/src/pools/cluster/dynamic.ts index 9f9abb01..89180f1f 100644 --- a/src/pools/cluster/dynamic.ts +++ b/src/pools/cluster/dynamic.ts @@ -46,6 +46,6 @@ export class DynamicClusterPool< /** @inheritDoc */ public get busy (): boolean { - return this.full && this.findFreeWorkerNodeKey() === -1 + return this.full && this.internalBusy() } }