From ef95688701526b0b54a7d0d5dc8f1470ea5ed4bb Mon Sep 17 00:00:00 2001 From: Jungtaek Lim Date: Sat, 15 Feb 2014 13:21:07 +0900 Subject: [PATCH] set sentinel failover-timeout longer (120000 ms) * failover-timeout 60000 (ms) always success with local machine ** but sometimes failed with Travis CI --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3e64c21..66d6e98 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ daemonize yes sentinel monitor mymaster 127.0.0.1 6379 1 sentinel auth-pass mymaster foobared sentinel down-after-milliseconds mymaster 2000 -sentinel failover-timeout mymaster 60000 +sentinel failover-timeout mymaster 120000 sentinel parallel-syncs mymaster 1 pidfile /tmp/sentinel1.pid logfile /tmp/sentinel1.log @@ -99,7 +99,7 @@ sentinel monitor mymaster 127.0.0.1 6381 1 sentinel auth-pass mymaster foobared sentinel down-after-milliseconds mymaster 2000 sentinel parallel-syncs mymaster 1 -sentinel failover-timeout mymaster 60000 +sentinel failover-timeout mymaster 120000 pidfile /tmp/sentinel2.pid logfile /tmp/sentinel2.log endef @@ -110,7 +110,7 @@ daemonize yes sentinel monitor mymasterfailover 127.0.0.1 6385 1 sentinel auth-pass mymasterfailover foobared sentinel down-after-milliseconds mymasterfailover 2000 -sentinel failover-timeout mymasterfailover 60000 +sentinel failover-timeout mymasterfailover 120000 sentinel parallel-syncs mymasterfailover 1 pidfile /tmp/sentinel4.pid logfile /tmp/sentinel4.log