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
/
cluster
/
fixed.ts
diff --git
a/src/pools/cluster/fixed.ts
b/src/pools/cluster/fixed.ts
index 545238b0136fc5f0b1ae8d4c43710a302d087f8d..b7bf9c1a70bb150d98414571c0820752a8707c9a 100644
(file)
--- a/
src/pools/cluster/fixed.ts
+++ b/
src/pools/cluster/fixed.ts
@@
-89,6
+89,11
@@
export class FixedClusterPool<
this.workerNodes[workerNodeKey].worker.off('message', listener)
}
+ /** @inheritDoc */
+ protected shallCreateDynamicWorker (): boolean {
+ return false
+ }
+
/** @inheritDoc */
protected get type (): PoolType {
return PoolTypes.fixed