From df9a6b88cbdd4eff29827d2922a2e9667e8e4327 Mon Sep 17 00:00:00 2001 From: Jernej Kos Date: Thu, 17 Mar 2022 11:06:21 +0100 Subject: [PATCH] go/consensus/tendermint: Bump default max number of inbound peers --- go/consensus/tendermint/common/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/consensus/tendermint/common/common.go b/go/consensus/tendermint/common/common.go index 51391b6b20a..4a2a32b6ab9 100644 --- a/go/consensus/tendermint/common/common.go +++ b/go/consensus/tendermint/common/common.go @@ -121,7 +121,7 @@ func init() { Flags.Bool(CfgDebugP2PAllowDuplicateIP, false, "Allow multiple connections from the same IP") Flags.StringSlice(CfgP2PSeed, []string{}, "Tendermint seed node(s) of the form ID@host:port") - Flags.Int(CfgP2PMaxNumInboundPeers, 40, "Max number of inbound peers") + Flags.Int(CfgP2PMaxNumInboundPeers, 100, "Max number of inbound peers") Flags.Int(CfgP2PMaxNumOutboundPeers, 20, "Max number of outbound peers (excluding persistent peers)") Flags.Int64(CfgP2PSendRate, 5120000, "Rate at which packets can be sent (bytes/sec)") Flags.Int64(CfgP2PRecvRate, 5120000, "Rate at which packets can be received (bytes/sec)")