Skip to content

Commit

Permalink
Expose DefaultPerPeerRateLimit as var (#1580)
Browse files Browse the repository at this point in the history
Expose DefaultPerPeerRateLimit as var
  • Loading branch information
millken committed Jun 14, 2022
1 parent d7ba372 commit 5a06093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/net/swarm/swarm_dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const ConcurrentFdDials = 160

// DefaultPerPeerRateLimit is the number of concurrent outbound dials to make
// per peer
const DefaultPerPeerRateLimit = 8
var DefaultPerPeerRateLimit = 8

// dialbackoff is a struct used to avoid over-dialing the same, dead peers.
// Whenever we totally time out on a peer (all three attempts), we add them
Expand Down

0 comments on commit 5a06093

Please sign in to comment.