mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
Fixed clearNodeFailureIfNeeded() time type to mstime_t.
This prevented 32bit cluster instances from clearing the FAIL flag when needed.
This commit is contained in:
parent
e88e6a6334
commit
47815d38e0
@ -748,7 +748,7 @@ void markNodeAsFailingIfNeeded(clusterNode *node) {
|
|||||||
* to reach it again. It checks if there are the conditions to undo the FAIL
|
* to reach it again. It checks if there are the conditions to undo the FAIL
|
||||||
* state. */
|
* state. */
|
||||||
void clearNodeFailureIfNeeded(clusterNode *node) {
|
void clearNodeFailureIfNeeded(clusterNode *node) {
|
||||||
time_t now = mstime();
|
mstime_t now = mstime();
|
||||||
|
|
||||||
redisAssert(node->flags & REDIS_NODE_FAIL);
|
redisAssert(node->flags & REDIS_NODE_FAIL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user