p2p: set outgoing connections to around 20% of total connections (#8913) (#8915)

(cherry picked from commit 47cb30fc1d)

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2022-06-30 17:04:11 -04:00
committed by GitHub
co-authored by William Banfield
parent 2773e11a61
commit 346b5ff4d0
+1 -1
View File
@@ -678,7 +678,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.