Skip to content

Commit 67f01f2

Browse files
bfrittonfaddat
authored andcommittedOct 11, 2021
Update init.go to increase max inbound peers for validator nodes (#464)
* Update init.go Change to max outbound peers for validator node as requested by Valardragon and proposed by FONDSMATIVE and dff | mp20 * Update init.go Updated update to inbound and outbound connections to keep an 8:1 ratio of inbound slots to outbound. * Update init.go pseudo-go-fmt Co-authored-by: Jacob Gadikian <[email protected]>
1 parent ef19ba0 commit 67f01f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎cmd/osmosisd/cmd/init.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command {
9191

9292
//Override default settings in config.toml
9393
config.P2P.Seeds = strings.Join(seeds[:], ",")
94-
config.P2P.MaxNumInboundPeers = 150
94+
config.P2P.MaxNumInboundPeers = 320
9595
config.P2P.MaxNumOutboundPeers = 40
9696
config.Mempool.Size = 10000
9797
config.StateSync.TrustPeriod = 112 * time.Hour

0 commit comments

Comments
 (0)
Please sign in to comment.