X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Fdynamic.ts;h=89180f1f161d9351190189ff06cd7e76a40f30d5;hb=0527b6db895355140ed6fa2f740caab3a41b2f9f;hp=9f9abb01ddaa5f3015ef4a08bd2ee046dc9312c9;hpb=249900794cc90e66d180fb43e59937e89a50fb65;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() } }