Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
c70c0c6d
Commit
c70c0c6d
authored
Dec 17, 2013
by
antirez
Browse files
Cluster: use proper type mstime_t for ping delay var.
parent
7c1cbdce
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
c70c0c6d
...
@@ -2018,7 +2018,7 @@ void clusterCron(void) {
...
@@ -2018,7 +2018,7 @@ void clusterCron(void) {
while((de = dictNext(di)) != NULL) {
while((de = dictNext(di)) != NULL) {
clusterNode *node = dictGetVal(de);
clusterNode *node = dictGetVal(de);
now = mstime(); /* Use an updated time at every iteration. */
now = mstime(); /* Use an updated time at every iteration. */
in
t delay;
mstime_
t delay;
if (node->flags &
if (node->flags &
(REDIS_NODE_MYSELF|REDIS_NODE_NOADDR|REDIS_NODE_HANDSHAKE))
(REDIS_NODE_MYSELF|REDIS_NODE_NOADDR|REDIS_NODE_HANDSHAKE))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment