repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: improve task error handling
[poolifier.git]
/
src
/
pools
/
cluster
/
dynamic.ts
diff --git
a/src/pools/cluster/dynamic.ts
b/src/pools/cluster/dynamic.ts
index cae9970006fdc1c62bb030d77802cac98eb9ff51..b75b3f800d8dc771176b7f11fa437b3fedab867e 100644
(file)
--- a/
src/pools/cluster/dynamic.ts
+++ b/
src/pools/cluster/dynamic.ts
@@
-26,7
+26,7
@@
export class DynamicClusterPool<
*/
public constructor (
min: number,
*/
public constructor (
min: number,
- p
ublic
readonly max: number,
+ p
rotected
readonly max: number,
filePath: string,
opts: ClusterPoolOptions = {}
) {
filePath: string,
opts: ClusterPoolOptions = {}
) {
@@
-43,11
+43,6
@@
export class DynamicClusterPool<
return this.max
}
return this.max
}
- /** @inheritDoc */
- protected get full (): boolean {
- return this.workerNodes.length >= this.max
- }
-
/** @inheritDoc */
protected get busy (): boolean {
return this.full && this.internalBusy()
/** @inheritDoc */
protected get busy (): boolean {
return this.full && this.internalBusy()