changeset 20723:2b03d8ab6ae1

imap-hibernate: Increased imap-master communication timeout from 5s to 30s Looks like 5s isn't enough in loaded environments. It's also not really a problem if the timeout is large, it's just going to take a while longer to restore the connection. When timeout is reached the client would just get disconnected anyway.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 09 Sep 2016 01:42:50 +0300
parents bf8fbf7fcc6a
children f42da30440eb
files src/imap-hibernate/imap-master-connection.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap-hibernate/imap-master-connection.c	Fri Sep 09 14:07:11 2016 +0300
+++ b/src/imap-hibernate/imap-master-connection.c	Fri Sep 09 01:42:50 2016 +0300
@@ -5,7 +5,7 @@
 #include "connection.h"
 #include "imap-master-connection.h"
 
-#define IMAP_MASTER_CONNECTION_TIMEOUT_MSECS 5000
+#define IMAP_MASTER_CONNECTION_TIMEOUT_MSECS 30000
 
 struct imap_master_connection {
 	struct connection conn;