Speedup initial sync

master
Vitaliy Filippov 2024-05-09 13:48:55 +03:00
parent 5aa81a5c45
commit 2b6cc135d3
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ class AntiCluster
this.antietcd.clients[client_id].raft_node_id = node_id;
this.antietcd.clients[client_id].addr = socket._socket.remoteAddress+':'+socket._socket.remotePort;
socket.send(JSON.stringify({ identify: { key: this.cfg.cluster_key, node_id: this.cfg.node_id } }));
this.raft.start();
}
});
}