mirror of https://mirror.osredm.com/root/redis.git
Cluster: use proper type mstime_t for ping delay var.
This commit is contained in:
parent
7c1cbdceb2
commit
c70c0c6db7
|
@ -2018,7 +2018,7 @@ void clusterCron(void) {
|
|||
while((de = dictNext(di)) != NULL) {
|
||||
clusterNode *node = dictGetVal(de);
|
||||
now = mstime(); /* Use an updated time at every iteration. */
|
||||
int delay;
|
||||
mstime_t delay;
|
||||
|
||||
if (node->flags &
|
||||
(REDIS_NODE_MYSELF|REDIS_NODE_NOADDR|REDIS_NODE_HANDSHAKE))
|
||||
|
|
Loading…
Reference in New Issue