Skip to content

Commit

Permalink
Fix double counted metrics (#5476)
Browse files Browse the repository at this point in the history
* Fix double counted metrics
  • Loading branch information
ackintosh authored Mar 26, 2024
1 parent e4d4e43 commit 8cec8a6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions beacon_node/lighthouse_network/src/peer_manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -803,9 +803,6 @@ impl<TSpec: EthSpec> PeerManager<TSpec> {
// 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
}

Expand Down

0 comments on commit 8cec8a6

Please sign in to comment.