From ab0f4f6f178e37c4dd8b579eee60f4674e467004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Fri, 13 Apr 2018 11:14:40 -0400 Subject: [PATCH] proxy client: refresh now in case of refresh notification --- src/dht_proxy_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dht_proxy_client.cpp b/src/dht_proxy_client.cpp index e8f1ec13..caa0c02a 100644 --- a/src/dht_proxy_client.cpp +++ b/src/dht_proxy_client.cpp @@ -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) -- GitLab