Skip to content

Commit

Permalink
Bump to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Nov 22, 2022
1 parent 5d1d35f commit 54432e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions p2p/host/resource-manager/limit_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ var DefaultLimits = ScalingLimitConfig{
},

PeerBaseLimit: BaseLimit{
ConnsInbound: 6,
ConnsOutbound: 6,
ConnsInbound: 8,
ConnsOutbound: 8,
Conns: 8,
StreamsInbound: 256,
StreamsOutbound: 512,
Expand Down
2 changes: 1 addition & 1 deletion p2p/net/swarm/swarm_dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const ConcurrentFdDials = 160

// DefaultPerPeerRateLimit is the number of concurrent outbound dials to make
// per peer
var DefaultPerPeerRateLimit = 6
var DefaultPerPeerRateLimit = 8

// dialbackoff is a struct used to avoid over-dialing the same, dead peers.
// Whenever we totally time out on a peer (all three attempts), we add them
Expand Down

0 comments on commit 54432e3

Please sign in to comment.