From 9999b049d4e02d7ea5d506a0ada68e519cfdbbbd Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 26 Jan 2016 15:38:13 +0200 Subject: [PATCH] pop3c: Increased command timeout from 30s to 5mins. Possibly should be made configurable, but use this for now. --- src/lib-storage/index/pop3c/pop3c-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib-storage/index/pop3c/pop3c-client.c b/src/lib-storage/index/pop3c/pop3c-client.c index d35ebeafe7..1b5ab902d7 100644 --- a/src/lib-storage/index/pop3c/pop3c-client.c +++ b/src/lib-storage/index/pop3c/pop3c-client.c @@ -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 */