repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: v2.4.7
[poolifier.git]
/
src
/
pools
/
cluster
/
dynamic.ts
diff --git
a/src/pools/cluster/dynamic.ts
b/src/pools/cluster/dynamic.ts
index b84a80ce2b31b7fc807bceae6b29e1a7eb2af5bd..78c63aca64d8da1e879c723bd0fd064f46de83ee 100644
(file)
--- a/
src/pools/cluster/dynamic.ts
+++ b/
src/pools/cluster/dynamic.ts
@@
-1,4
+1,4
@@
-import { PoolType } from '../pool
-internal
'
+import { PoolType } from '../pool'
import type { ClusterPoolOptions } from './fixed'
import { FixedClusterPool } from './fixed'
import type { ClusterPoolOptions } from './fixed'
import { FixedClusterPool } from './fixed'
@@
-40,12
+40,12
@@
export class DynamicClusterPool<
}
/** @inheritDoc */
}
/** @inheritDoc */
- p
ublic
get full (): boolean {
- return this.workers.length === this.max
+ p
rotected
get full (): boolean {
+ return this.worker
Node
s.length === this.max
}
/** @inheritDoc */
}
/** @inheritDoc */
- p
ublic
get busy (): boolean {
- return this.full && this.
findFreeWorkerKey() === -1
+ p
rotected
get busy (): boolean {
+ return this.full && this.
internalBusy()
}
}
}
}