repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a715ab8
)
refactor: cleanup
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 3 Jun 2023 09:55:17 +0000
(11:55 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 3 Jun 2023 09:55:17 +0000
(11:55 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/thread/dynamic.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/pools/thread/dynamic.ts
b/src/pools/thread/dynamic.ts
index 00d25c0a5fd8d1060a575b9995c4e189475f15a5..79c43b7d5a1b15bdc9b63f7ebd781906c67b5deb 100644
(file)
--- a/
src/pools/thread/dynamic.ts
+++ b/
src/pools/thread/dynamic.ts
@@
-39,13
+39,13
@@
export class DynamicThreadPool<
}
/** @inheritDoc */
- protected get
full (): boolean
{
- return this.
workerNodes.length >= this.
max
+ protected get
maxSize (): number
{
+ return this.max
}
/** @inheritDoc */
- protected get
maxSize (): number
{
- return this.max
+ protected get
full (): boolean
{
+ return this.
workerNodes.length >= this.
max
}
/** @inheritDoc */