Skip to content

Commit

Permalink
Cluster: use proper type mstime_t for ping delay var.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Dec 17, 2013
1 parent 7c1cbdc commit c70c0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit c70c0c6

Please sign in to comment.