repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf: avoid branching on pool type
[poolifier.git]
/
src
/
pools
/
thread
/
fixed.ts
diff --git
a/src/pools/thread/fixed.ts
b/src/pools/thread/fixed.ts
index 13df2b5c602372fdde184989c84e8b3980aad8cf..088d72c920092cb8637b5f86edbdedf62432f672 100644
(file)
--- a/
src/pools/thread/fixed.ts
+++ b/
src/pools/thread/fixed.ts
@@
-108,6
+108,11
@@
export class FixedThreadPool<
)
}
+ /** @inheritDoc */
+ protected shallCreateDynamicWorker (): boolean {
+ return false
+ }
+
/** @inheritDoc */
protected get type (): PoolType {
return PoolTypes.fixed