Timeout 30s

This commit is contained in:
Thomas Forgione 2018-06-22 12:20:33 +02:00
parent 24100d6f83
commit f5f45ed391
No known key found for this signature in database
GPG Key ID: 3B8FC64F5BBFE109
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ module.exports = function(params, callback) {
password: config.MAIL.PASSWORD,
host: config.MAIL.HOSTNAME,
port: config.MAIL.PORT,
tls: config.MAIL.TLS
tls: config.MAIL.TLS,
timeout: 30000,
});
server.send(params, function(err) {