mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05: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…
Reference in New Issue
Block a user