mirror of
https://github.com/nostar/urfd.git
synced 2026-11-08 04:19:39 +00:00
release interlink lock
This commit is contained in:
1 parent
07e57dffb1
commit
86abe51a6d
1 file changed
+5
@@ -718,6 +718,11 @@ void CReflector::GetDHTConfig(const std::string &cs)
|
||||
{
|
||||
// if the get() call was successful and there is a nonzero timestamp, then do the update
|
||||
g_GateKeeper.GetInterlinkMap()->Update(cfg.cs, cfg.mods, cfg.ipv4, cfg.ipv6, cfg.port[toUType(EUrfdPorts::urf)], cfg.tcmods);
|
||||
g_GateKeeper.ReleaseInterlinkMap();
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cerr << "node.Get() was successful, but the timestamp was zero" << std::endl;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user