mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
proxy client: refresh now in case of refresh notification
This commit is contained in:
1 parent
e3114cd5b9
commit
ab0f4f6f17
1 file changed
+1
-1
@@ -947,7 +947,7 @@ DhtProxyClient::pushNotificationReceived(const std::map<std::string, std::string
|
||||
// Refresh put
|
||||
auto vid = std::stoull(vidIt->second);
|
||||
auto put = search.puts.at(vid);
|
||||
scheduler.edit(put.refreshJob, scheduler.time() + proxy::OP_TIMEOUT);
|
||||
scheduler.edit(put.refreshJob, scheduler.time());
|
||||
} else {
|
||||
// Refresh listen
|
||||
for (auto& list : search.listeners)
|
||||
|
||||
Reference in new issue
Block a user