Skip to content

Commit

Permalink
imap-hibernate: Increased imap-master communication timeout from 5s t…
Browse files Browse the repository at this point in the history
…o 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.
  • Loading branch information
sirainen committed Sep 8, 2016
1 parent 4fca0e3 commit 4b93550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imap-hibernate/imap-master-connection.c
Expand Up @@ -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;
Expand Down

0 comments on commit 4b93550

Please sign in to comment.