summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandyli <zhiangli029@gmail.com>2016-11-29 16:34:41 +0800
committerGitHub <noreply@github.com>2016-11-29 16:34:41 +0800
commit8abf9729f0f171533d19a8591fae514708f3e119 (patch)
tree2979854e9a338b2cd21f4fbc7937847d61800c32
parenteab865a0a1d7e3cb2494c02e601dbdb93b48533c (diff)
downloadredis-8abf9729f0f171533d19a8591fae514708f3e119.tar.gz
Modify MIN->MAX
-rw-r--r--src/cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c
index bedf5f81e..0a5a0799c 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;