From 1d33cd330e100e4063527989ce9e5b2b72c98425 Mon Sep 17 00:00:00 2001 From: kamilsa Date: Fri, 18 Oct 2024 13:39:03 +0300 Subject: [PATCH] Add log that we least active peer was active --- core/network/impl/peer_manager_impl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/network/impl/peer_manager_impl.cpp b/core/network/impl/peer_manager_impl.cpp index 4fb3bde164..fc93692dec 100644 --- a/core/network/impl/peer_manager_impl.cpp +++ b/core/network/impl/peer_manager_impl.cpp @@ -768,6 +768,9 @@ namespace kagome::network { // align period if (it->second.time_point > clock_->now() - app_config_.peeringConfig().aligningPeriod) { + SL_INFO(log_, + "Least active peer {} has been active within last align period", + it->first); return PeerId{}; }