From eeeb8421926406ac8d5cea0b4c947cb47f98fb18 Mon Sep 17 00:00:00 2001 From: subtly Date: Mon, 9 Mar 2015 18:42:03 +0100 Subject: [PATCH] update doc for disabled code --- libp2p/Host.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libp2p/Host.cpp b/libp2p/Host.cpp index e8e206233..8f4f8a69d 100644 --- a/libp2p/Host.cpp +++ b/libp2p/Host.cpp @@ -544,7 +544,11 @@ void Host::run(boost::system::error_code const&) pp->serviceNodesRequest(); keepAlivePeers(); -// disconnectLatePeers(); + + // At this time peers will be disconnected based on natural TCP timeout. + // disconnectLatePeers needs to be updated for the assumption that Session + // is always live and to ensure reputation and fallback timers are properly + // updated. // disconnectLatePeers(); if (peerCount() < m_idealPeerCount) {