Skip to content

Commit

Permalink
updating default maxInboundPeers to 30. current base config 30 / 10 .
Browse files Browse the repository at this point in the history
  • Loading branch information
Otto V committed Feb 18, 2021
1 parent bb8d15f commit 2239a96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func UpdateConfig(datadir string) {
sdk.DefaultPocketConsensusConfig(GlobalConfig.TendermintConfig.Consensus)
GlobalConfig.TendermintConfig.P2P.AllowDuplicateIP = true
GlobalConfig.TendermintConfig.P2P.AddrBookStrict = false
GlobalConfig.TendermintConfig.P2P.MaxNumInboundPeers = 10
GlobalConfig.TendermintConfig.P2P.MaxNumInboundPeers = 30
GlobalConfig.TendermintConfig.P2P.MaxNumOutboundPeers = 10
GlobalConfig.TendermintConfig.RPC.GRPCMaxOpenConnections = 2500
GlobalConfig.TendermintConfig.RPC.MaxOpenConnections = 2500
Expand Down
2 changes: 1 addition & 1 deletion types/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func DefaultConfig(dataDir string) Config {
c.TendermintConfig.PrivValidatorKey = DefaultPVKName
c.TendermintConfig.PrivValidatorState = DefaultPVSName
c.TendermintConfig.P2P.AddrBookStrict = false
c.TendermintConfig.P2P.MaxNumInboundPeers = 10
c.TendermintConfig.P2P.MaxNumInboundPeers = 30
c.TendermintConfig.P2P.MaxNumOutboundPeers = 10
c.TendermintConfig.LogLevel = "*:info, *:error"
c.TendermintConfig.TxIndex.Indexer = DefaultTxIndexer
Expand Down

0 comments on commit 2239a96

Please sign in to comment.