]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap-hibernate: Increased imap-master communication timeout from 5s to 30s
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 8 Sep 2016 22:42:50 +0000 (01:42 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 8 Sep 2016 22:42:50 +0000 (01:42 +0300)
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.

src/imap-hibernate/imap-master-connection.c

index aa697194b73e9f5c307d34a41dda25425886a0ff..08b828e6218ebd220c2813a921f14f44e5e511ce 100644 (file)
@@ -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;