From 547e7e1646200e53872757582dc4d187d64b1ad0 Mon Sep 17 00:00:00 2001 From: ackintosh Date: Fri, 22 Mar 2024 00:28:10 +0900 Subject: [PATCH] Fix double counted metrics --- beacon_node/lighthouse_network/src/peer_manager/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/beacon_node/lighthouse_network/src/peer_manager/mod.rs b/beacon_node/lighthouse_network/src/peer_manager/mod.rs index 8e5290630a5..290dedfd789 100644 --- a/beacon_node/lighthouse_network/src/peer_manager/mod.rs +++ b/beacon_node/lighthouse_network/src/peer_manager/mod.rs @@ -803,9 +803,6 @@ impl PeerManager { // start a ping and status timer for the peer self.status_peers.insert(*peer_id); - // increment prometheus metrics - metrics::inc_counter(&metrics::PEER_CONNECT_EVENT_COUNT); - true }