Skip to content

Commit 30b2efd

Browse files
walldissrenaynay
andauthored
Update p2p/peer_tracker.go
Co-authored-by: rene <[email protected]>
1 parent ad1b88e commit 30b2efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p2p/peer_tracker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const (
1818
defaultScore float32 = 1
1919
// maxPeerTrackerSize specifies the max amount of peers that can be added to the peerTracker.
2020
maxPeerTrackerSize = 100
21-
// minPeerTrackerSizeBeforeGC specifies the min amount of peers before the peerTracker starts removing peers.
21+
// minPeerTrackerSizeBeforeGC specifies the minimum amount of tracked peers before the peerTracker starts removing peers with lower peer scores.
2222
minPeerTrackerSizeBeforeGC = 10
2323
)
2424

0 commit comments

Comments
 (0)