Commit 3119f63b authored by Jeromy Johnson's avatar Jeromy Johnson Committed by GitHub

Merge pull request #4326 from ipfs/fix/sane-accept-buffer-size

lower yamux accept buffer size
parents e1f158b7 8b6c6645
......@@ -372,7 +372,7 @@ func makeSmuxTransport(mplexExp bool) smux.Transport {
mstpt := mssmux.NewBlankTransport()
ymxtpt := &yamux.Transport{
AcceptBacklog: 8192,
AcceptBacklog: 512,
ConnectionWriteTimeout: time.Second * 10,
KeepAliveInterval: time.Second * 30,
EnableKeepAlive: true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment