From 8d82b3b1660948b8991aa718c875a3801734dc7f Mon Sep 17 00:00:00 2001 From: andyli Date: Tue, 29 Nov 2016 16:34:41 +0800 Subject: [PATCH] Modify MIN->MAX --- src/cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster.c b/src/cluster.c index ddd9937c6..6e3fc8b00 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -2774,7 +2774,7 @@ void clusterHandleSlaveFailover(void) { * and wait for replies), and the failover retry time (the time to wait * before trying to get voted again). * - * Timeout is MIN(NODE_TIMEOUT*2,2000) milliseconds. + * Timeout is MAX(NODE_TIMEOUT*2,2000) milliseconds. * Retry is two times the Timeout. */ auth_timeout = server.cluster_node_timeout*2;