p2p: set outgoing connections to around 20% of total connections

This commit is contained in:
William Banfield
2022-06-30 13:31:54 -04:00
parent 5c26db733b
commit 6a48a85979

View File

@@ -671,7 +671,7 @@ func DefaultP2PConfig() *P2PConfig {
ExternalAddress: "",
UPNP: false,
MaxConnections: 64,
MaxOutgoingConnections: 32,
MaxOutgoingConnections: 12,
MaxIncomingConnectionAttempts: 100,
FlushThrottleTimeout: 100 * time.Millisecond,
// The MTU (Maximum Transmission Unit) for Ethernet is 1500 bytes.