We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad1b88e commit 30b2efdCopy full SHA for 30b2efd
p2p/peer_tracker.go
@@ -18,7 +18,7 @@ const (
18
defaultScore float32 = 1
19
// maxPeerTrackerSize specifies the max amount of peers that can be added to the peerTracker.
20
maxPeerTrackerSize = 100
21
- // 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.
22
minPeerTrackerSizeBeforeGC = 10
23
)
24
0 commit comments