mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Cluster: initialize todo_before_sleep flags to 0.
This commit is contained in:
parent
c70c0c6db7
commit
f57bb36ce7
@ -259,6 +259,7 @@ void clusterInit(void) {
|
||||
server.cluster->currentEpoch = 0;
|
||||
server.cluster->state = REDIS_CLUSTER_FAIL;
|
||||
server.cluster->size = 1;
|
||||
server.cluster->todo_before_sleep = 0;
|
||||
server.cluster->nodes = dictCreate(&clusterNodesDictType,NULL);
|
||||
server.cluster->nodes_black_list =
|
||||
dictCreate(&clusterNodesBlackListDictType,NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user