Expose DefaultPerPeerRateLimit as var (#1580)
Expose DefaultPerPeerRateLimit as var
This commit is contained in:
parent
d7ba37217c
commit
5a06093c10
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue