From 8abf9729f0f171533d19a8591fae514708f3e119 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 bedf5f81..0a5a0799 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;