mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Trim comment to 80 cols.
This commit is contained in:
parent
a636aeac07
commit
041ab04419
@ -3674,7 +3674,7 @@ char *sentinelGetLeader(sentinelRedisInstance *master, uint64_t epoch) {
|
|||||||
serverAssert(master->flags & (SRI_O_DOWN|SRI_FAILOVER_IN_PROGRESS));
|
serverAssert(master->flags & (SRI_O_DOWN|SRI_FAILOVER_IN_PROGRESS));
|
||||||
counters = dictCreate(&leaderVotesDictType,NULL);
|
counters = dictCreate(&leaderVotesDictType,NULL);
|
||||||
|
|
||||||
voters = dictSize(master->sentinels)+1; /* All the other sentinels and me. */
|
voters = dictSize(master->sentinels)+1; /* All the other sentinels and me.*/
|
||||||
|
|
||||||
/* Count other sentinels votes */
|
/* Count other sentinels votes */
|
||||||
di = dictGetIterator(master->sentinels);
|
di = dictGetIterator(master->sentinels);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user