Mercurial > dovecot > core-2.2
changeset 19990:c4504c853f8e
lmtp: Changed default LMTP proxy timeout to 125 seconds.
The main problem with LMTP proxy timing out too early is that it causes
duplicates if the backend actually finishes the mail delivery.
The 30 seconds is bad, because there are various timeouts in backend set
to 30 seconds also. 125 seconds is hopefully large enough to hit most of
the 2 minute timeouts and we'll have a few extra seconds left to see the
failure.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 06 Apr 2016 22:43:52 +0300 |
parents | 103c6f797c1c |
children | 64c72629595f |
files | src/lmtp/commands.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lmtp/commands.c Wed Apr 06 22:12:54 2016 +0300 +++ b/src/lmtp/commands.c Wed Apr 06 22:43:52 2016 +0300 @@ -39,7 +39,7 @@ #define ERRSTR_TEMP_USERDB_FAIL \ ERRSTR_TEMP_USERDB_FAIL_PREFIX "Temporary user lookup failure" -#define LMTP_PROXY_DEFAULT_TIMEOUT_MSECS (1000*30) +#define LMTP_PROXY_DEFAULT_TIMEOUT_MSECS (1000*125) static void client_input_data_write(struct client *client);