Skip to content

Commit

Permalink
Merge pull request #29 from maticnetwork/vaibhav/DefaultValueChange
Browse files Browse the repository at this point in the history
Change the default value of maxInboundPeer and maxOutBoundPeer to 100
  • Loading branch information
VAIBHAVJINDAL3012 authored Oct 5, 2023
2 parents a50d41c + d50af6e commit da9dfa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,8 @@ func DefaultP2PConfig() *P2PConfig {
UPNP: false,
AddrBook: defaultAddrBookPath,
AddrBookStrict: true,
MaxNumInboundPeers: 40,
MaxNumOutboundPeers: 10,
MaxNumInboundPeers: 100,
MaxNumOutboundPeers: 100,
FlushThrottleTimeout: 100 * time.Millisecond,
MaxPacketMsgPayloadSize: 1024, // 1 kB
SendRate: 5120000, // 5 mB/s
Expand Down

0 comments on commit da9dfa1

Please sign in to comment.