Skip to content
Snippets Groups Projects
Commit ff2193dc authored by Adrien Béraud's avatar Adrien Béraud
Browse files

network_engine: add log on node expire

parent 855b6971
Branches
Tags
No related merge requests found
......@@ -145,6 +145,7 @@ NetworkEngine::requestStep(std::shared_ptr<Request> req)
auto now = scheduler.time();
if (req->isExpired(now)) {
DHT_LOG.ERROR("[node %s] expired !", req->node->toString().c_str());
req->node->setExpired();
requests.erase(req->tid);
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment