Loading src/backends/cluster.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ namespace authdb { if (client) { try { auto &cmtx = g_Cluster->getClientMutex(); std::unique_lock<std::timed_mutex> lock(cmtx, std::try_to_lock); std::unique_lock<std::timed_mutex> lock(cmtx, std::chrono::seconds(1)); if (lock.owns_lock()) { peer_data = client->retrieve(dgid); _LastPeerFetch = now; Loading Loading
src/backends/cluster.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ namespace authdb { if (client) { try { auto &cmtx = g_Cluster->getClientMutex(); std::unique_lock<std::timed_mutex> lock(cmtx, std::try_to_lock); std::unique_lock<std::timed_mutex> lock(cmtx, std::chrono::seconds(1)); if (lock.owns_lock()) { peer_data = client->retrieve(dgid); _LastPeerFetch = now; Loading