Implement ReplicationQueryHandler class (#52)
* Refactor io::network::Endpoint class * Add ParseSocketOrIpAddress static method to Endpoint class * Implement ReplQueryHandler methods * Add implementation of SetReplicationRole to ReplQueryHandler * Fix PrepareReplicationQuery (create PullPlanVector) Co-authored-by: jseljan <josip.seljan@memgraph.io>
This commit is contained in:
committed by
Antonio Andelic
parent
f23e2e12c4
commit
a0fb3fc463
@@ -72,7 +72,7 @@ TEST(Network, SocketReadHangOnConcurrentConnections) {
|
||||
// start clients
|
||||
std::vector<std::thread> clients;
|
||||
for (int i = 0; i < Nc; ++i)
|
||||
clients.push_back(std::thread(client_run, i, interface, ep.port()));
|
||||
clients.push_back(std::thread(client_run, i, interface, ep.port));
|
||||
|
||||
// wait for 2s and stop clients
|
||||
std::this_thread::sleep_for(std::chrono::seconds(2));
|
||||
|
||||
Reference in New Issue
Block a user