Modify MIN->MAX

This commit is contained in:
andyli 2016-11-29 16:34:41 +08:00 committed by GitHub
parent eab865a0a1
commit 8abf9729f0

View File

@ -2774,7 +2774,7 @@ void clusterHandleSlaveFailover(void) {
* and wait for replies), and the failover retry time (the time to wait * and wait for replies), and the failover retry time (the time to wait
* before trying to get voted again). * 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. * Retry is two times the Timeout.
*/ */
auth_timeout = server.cluster_node_timeout*2; auth_timeout = server.cluster_node_timeout*2;