Skip to content

Commit

Permalink
Merge pull request #4326 from ipfs/fix/sane-accept-buffer-size
Browse files Browse the repository at this point in the history
lower yamux accept buffer size
  • Loading branch information
whyrusleeping authored Oct 20, 2017
2 parents e1f158b + 8b6c664 commit 3119f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3119f63

Please sign in to comment.