repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf: bind to this some methods in the tasks execution code path
[poolifier.git]
/
src
/
pools
/
cluster
/
dynamic.ts
diff --git
a/src/pools/cluster/dynamic.ts
b/src/pools/cluster/dynamic.ts
index 0a2d0f3879fc6ab44129608fec6d9c6624cd4c1a..8b8c5185772dbea59bc0d22b2e1cb90b9383d507 100644
(file)
--- a/
src/pools/cluster/dynamic.ts
+++ b/
src/pools/cluster/dynamic.ts
@@
-41,6
+41,6
@@
export class DynamicClusterPool<
/** {@inheritDoc} */
public get busy (): boolean {
/** {@inheritDoc} */
public get busy (): boolean {
- return this.workers.
size
=== this.max
+ return this.workers.
length
=== this.max
}
}
}
}