summaryrefslogtreecommitdiff
path: root/src/cluster.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-12-16 15:03:12 +0100
committerantirez <antirez@gmail.com>2014-12-16 15:03:12 +0100
commit1aef29e0795681a3340a79c00379c246697bbcd6 (patch)
tree0b5262db4a66c1f04726e73268663ac823c8895d /src/cluster.c
parent90c7d8cfa19a8c378006943c83ace54c5d3da110 (diff)
downloadredis-1aef29e0795681a3340a79c00379c246697bbcd6.tar.gz
Fix comment in clusterHandleSlaveFailover().
Diffstat (limited to 'src/cluster.c')
-rw-r--r--src/cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c
index 2dbd8a461..0ace10a2a 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -2520,7 +2520,7 @@ void clusterHandleSlaveFailover(void) {
/* Compute the failover timeout (the max time we have to send votes
* and wait for replies), and the failover retry time (the time to wait
- * before waiting again.
+ * before trying to get voted again).
*
* Timeout is MIN(NODE_TIMEOUT*2,2000) milliseconds.
* Retry is two times the Timeout.