Skip to content

Commit

Permalink
Update p2p/peer_tracker.go
Browse files Browse the repository at this point in the history
Co-authored-by: rene <[email protected]>
  • Loading branch information
walldiss and renaynay authored Dec 21, 2023
1 parent ad1b88e commit 30b2efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/peer_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (
defaultScore float32 = 1
// maxPeerTrackerSize specifies the max amount of peers that can be added to the peerTracker.
maxPeerTrackerSize = 100
// minPeerTrackerSizeBeforeGC specifies the min amount of peers before the peerTracker starts removing peers.
// minPeerTrackerSizeBeforeGC specifies the minimum amount of tracked peers before the peerTracker starts removing peers with lower peer scores.
minPeerTrackerSizeBeforeGC = 10
)

Expand Down

0 comments on commit 30b2efd

Please sign in to comment.