mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-28 11:56:15 +00:00
add max dialing attempts
This commit is contained in:
@@ -230,6 +230,7 @@ func createPeerManager(
|
||||
SelfAddress: selfAddr,
|
||||
MaxConnected: maxConns,
|
||||
MaxConnectedUpgrade: maxUpgradeConns,
|
||||
MaxFailedDialAttempts: 1024,
|
||||
MaxPeers: maxUpgradeConns + 2*maxConns,
|
||||
MinRetryTime: 250 * time.Millisecond,
|
||||
MaxRetryTime: 30 * time.Minute,
|
||||
|
||||
Reference in New Issue
Block a user