repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:poolifier/poolifier
[poolifier.git]
/
src
/
pools
/
cluster
/
dynamic.ts
diff --git
a/src/pools/cluster/dynamic.ts
b/src/pools/cluster/dynamic.ts
index a9ccd6977255bcadc43bee150d8684a3ee3ad75e..b93d7e87c4290a21b8a9b8f7c2845647d05592da 100644
(file)
--- a/
src/pools/cluster/dynamic.ts
+++ b/
src/pools/cluster/dynamic.ts
@@
-31,6
+31,7
@@
export class DynamicClusterPool<
opts: ClusterPoolOptions = {}
) {
super(min, filePath, opts)
opts: ClusterPoolOptions = {}
) {
super(min, filePath, opts)
+ this.checkDynamicPoolSize(this.numberOfWorkers, this.max)
}
/** @inheritDoc */
}
/** @inheritDoc */
@@
-38,11
+39,6
@@
export class DynamicClusterPool<
return PoolTypes.dynamic
}
return PoolTypes.dynamic
}
- /** @inheritDoc */
- protected get maxSize (): number {
- return this.max
- }
-
/** @inheritDoc */
protected get busy (): boolean {
return this.full && this.internalBusy()
/** @inheritDoc */
protected get busy (): boolean {
return this.full && this.internalBusy()