Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8d82b3b1
Commit
8d82b3b1
authored
Nov 29, 2016
by
andyli
Committed by
antirez
Dec 19, 2016
Browse files
Modify MIN->MAX
parent
69282df8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
8d82b3b1
...
@@ -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 M
IN
(NODE_TIMEOUT*2,2000) milliseconds.
* Timeout is M
AX
(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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment