Commit 47815d38 authored by antirez's avatar antirez
Browse files

Fixed clearNodeFailureIfNeeded() time type to mstime_t.

This prevented 32bit cluster instances from clearing the FAIL flag when
needed.
parent e88e6a63
......@@ -748,7 +748,7 @@ void markNodeAsFailingIfNeeded(clusterNode *node) {
* to reach it again. It checks if there are the conditions to undo the FAIL
* state. */
void clearNodeFailureIfNeeded(clusterNode *node) {
time_t now = mstime();
mstime_t now = mstime();
redisAssert(node->flags & REDIS_NODE_FAIL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment