diff --git a/p2p/net/swarm/swarm.go b/p2p/net/swarm/swarm.go index e8b53885cc..74e43dde44 100644 --- a/p2p/net/swarm/swarm.go +++ b/p2p/net/swarm/swarm.go @@ -39,7 +39,7 @@ func init() { msstpt := psmss.NewBlankTransport() ymxtpt := &yamux.Transport{ - AcceptBacklog: 1024, + AcceptBacklog: 8192, ConnectionWriteTimeout: time.Second * 10, KeepAliveInterval: time.Second * 30, EnableKeepAlive: true, diff --git a/package.json b/package.json index 235340969a..3c40b68cc8 100644 --- a/package.json +++ b/package.json @@ -165,9 +165,9 @@ }, { "author": "whyrusleeping", - "hash": "QmYaeRqthWTco7oQF4dztuqA94P8JF36gVjd2z2eEqKfrh", + "hash": "QmSHTSkxXGQgaHWz91oZV3CDy3hmKmDgpjbYRT6niACG4E", "name": "go-smux-yamux", - "version": "1.1.0" + "version": "1.1.1" }, { "author": "whyrusleeping",