changeset 19641:b7e2d981519c

pop3c: Increased command timeout from 30s to 5mins. Possibly should be made configurable, but use this for now.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Tue, 26 Jan 2016 15:38:13 +0200
parents b6dafead7c40
children 234364260d8d
files src/lib-storage/index/pop3c/pop3c-client.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/pop3c/pop3c-client.c	Tue Jan 26 15:22:50 2016 +0200
+++ b/src/lib-storage/index/pop3c/pop3c-client.c	Tue Jan 26 15:38:13 2016 +0200
@@ -20,7 +20,7 @@
 #define POP3C_MAX_INBUF_SIZE (1024*32)
 #define POP3C_DNS_LOOKUP_TIMEOUT_MSECS (1000*30)
 #define POP3C_CONNECT_TIMEOUT_MSECS (1000*30)
-#define POP3C_COMMAND_TIMEOUT_MSECS (1000*30)
+#define POP3C_COMMAND_TIMEOUT_MSECS (1000*60*5)
 
 enum pop3c_client_state {
 	/* No connection */