mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
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…
x
Reference in New Issue
Block a user