Commit 8abf9729 authored by andyli's avatar andyli Committed by GitHub
Browse files

Modify MIN->MAX

parent eab865a0
...@@ -2774,7 +2774,7 @@ void clusterHandleSlaveFailover(void) { ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment