Skip to content

Commit

Permalink
syncer: increase default peers
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Aug 31, 2024
1 parent d798f1f commit 70443a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syncer/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,8 @@ func (s *Syncer) Addr() string {
// New returns a new Syncer.
func New(l net.Listener, cm ChainManager, pm PeerStore, header gateway.Header, opts ...Option) *Syncer {
config := config{
MaxInboundPeers: 8,
MaxOutboundPeers: 8,
MaxInboundPeers: 16,
MaxOutboundPeers: 16,
MaxInflightRPCs: 3,
ConnectTimeout: 5 * time.Second,
ShareNodesTimeout: 5 * time.Second,
Expand Down

0 comments on commit 70443a4

Please sign in to comment.