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
|
redis: redis://localhost:6379/2
|
||||||
log:
|
log:
|
||||||
level: warn
|
level: warn
|
||||||
|
processes: 2
|
||||||
|
connections: 5
|
||||||
|
|
||||||
seleniumWebDriver:
|
seleniumWebDriver:
|
||||||
browser: phantomjs
|
browser: phantomjs
|
||||||
|
|
|
@ -108,8 +108,8 @@ async function createConfig() {
|
||||||
default: {
|
default: {
|
||||||
preferIPv6: false,
|
preferIPv6: false,
|
||||||
ignoreIPv6: true,
|
ignoreIPv6: true,
|
||||||
processes: 1,
|
processes: config.builtinZoneMTA.processes,
|
||||||
connections: 5,
|
connections: config.builtinZoneMTA.connections,
|
||||||
pool: 'default'
|
pool: 'default'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue