changeset 14467:110673e82868

director: Increased timeouts.
author Timo Sirainen <tss@iki.fi>
date Thu, 19 Apr 2012 20:29:25 +0300
parents 90d7364b8c9d
children 0b4295b48941
files src/director/director-connection.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/director/director-connection.c	Thu Apr 19 18:59:33 2012 +0300
+++ b/src/director/director-connection.c	Thu Apr 19 20:29:25 2012 +0300
@@ -51,12 +51,12 @@
 #define OUTBUF_FLUSH_THRESHOLD (1024*128)
 /* Max idling time before "ME" command must have been received,
    or we'll disconnect. */
-#define DIRECTOR_CONNECTION_ME_TIMEOUT_MSECS (2*1000)
+#define DIRECTOR_CONNECTION_ME_TIMEOUT_MSECS (10*1000)
 /* Max idling time before "DONE" command must have been received,
    or we'll disconnect. */
 #define DIRECTOR_CONNECTION_DONE_TIMEOUT_MSECS (30*1000)
 /* How long to wait for PONG for an idling connection */
-#define DIRECTOR_CONNECTION_PING_IDLE_TIMEOUT_MSECS (2*1000)
+#define DIRECTOR_CONNECTION_PING_IDLE_TIMEOUT_MSECS (10*1000)
 /* Maximum time to wait for PONG reply */
 #define DIRECTOR_CONNECTION_PONG_TIMEOUT_MSECS (60*1000)
 /* How long to wait to send PING when connection is idle */