Expose DefaultPerPeerRateLimit as var (#1580)

Expose DefaultPerPeerRateLimit as var
This commit is contained in:
millken 2022-06-15 07:53:25 +08:00 committed by GitHub
parent d7ba37217c
commit 5a06093c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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