Skip to content

Commit

Permalink
Reset peerScore histogram (#5067)
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion authored Jan 27, 2023
1 parent 63355c1 commit 207387d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/beacon-node/src/network/peers/peerManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ export class PeerManager {

// peerLongLivedAttnets metric is a count
metrics.peerLongLivedAttnets.reset();
metrics.peerScore.reset();
metrics.peerConnectionLength.reset();

// reset client counts _for each client_ to 0
Expand Down

0 comments on commit 207387d

Please sign in to comment.