proxy client: refresh now in case of refresh notification

This commit is contained in:
Adrien Béraud committed 2018-04-13 11:14:40 -04:00
1 parent e3114cd5b9
commit ab0f4f6f17
1 file changed
+1 -1
+1 -1
View File
@@ -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)