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
/
thread
/
dynamic.ts
diff --git
a/src/pools/thread/dynamic.ts
b/src/pools/thread/dynamic.ts
index 0f901f7fdfc674b3c7761db870cf3ae29358c6ef..7bf477dd837c0ce3e30cb65ad308c32ca0774f48 100644
(file)
--- a/
src/pools/thread/dynamic.ts
+++ b/
src/pools/thread/dynamic.ts
@@
-41,12
+41,12
@@
export class DynamicThreadPool<
}
/** @inheritDoc */
}
/** @inheritDoc */
- p
ublic
get full (): boolean {
+ p
rotected
get full (): boolean {
return this.workerNodes.length === this.max
}
/** @inheritDoc */
return this.workerNodes.length === this.max
}
/** @inheritDoc */
- p
ublic
get busy (): boolean {
+ p
rotected
get busy (): boolean {
return this.full && this.internalBusy()
}
}
return this.full && this.internalBusy()
}
}