repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: account tasks wait time more accurately
[poolifier.git]
/
src
/
pools
/
cluster
/
dynamic.ts
diff --git
a/src/pools/cluster/dynamic.ts
b/src/pools/cluster/dynamic.ts
index c42e02b0cbfc0fc2ea0b2cd53f200739650f8267..eb2b996571f665ff14154cf338c387c5dfa28266 100644
(file)
--- a/
src/pools/cluster/dynamic.ts
+++ b/
src/pools/cluster/dynamic.ts
@@
-39,6
+39,11
@@
export class DynamicClusterPool<
return PoolType.DYNAMIC
}
+ /** @inheritDoc */
+ public get size (): number {
+ return this.max
+ }
+
/** @inheritDoc */
protected get full (): boolean {
return this.workerNodes.length === this.max