Number of processes and connections of builtin zone MTA is now configurable via Mailtrains config.
This commit is contained in:
parent
97bb700334
commit
9b32e59b50
2 changed files with 4 additions and 2 deletions
|
@ -217,6 +217,8 @@ builtinZoneMTA:
|
|||
redis: redis://localhost:6379/2
|
||||
log:
|
||||
level: warn
|
||||
processes: 2
|
||||
connections: 5
|
||||
|
||||
seleniumWebDriver:
|
||||
browser: phantomjs
|
||||
|
|
|
@ -108,8 +108,8 @@ async function createConfig() {
|
|||
default: {
|
||||
preferIPv6: false,
|
||||
ignoreIPv6: true,
|
||||
processes: 1,
|
||||
connections: 5,
|
||||
processes: config.builtinZoneMTA.processes,
|
||||
connections: config.builtinZoneMTA.connections,
|
||||
pool: 'default'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue