Skip to content

Commit

Permalink
Merge pull request #6049 from ipfs/fix/yamux-window-size
Browse files Browse the repository at this point in the history
yamux: increase yamux window size to 8MiB.
  • Loading branch information
Stebalien authored Mar 5, 2019
2 parents fdc1b76 + 47f5c6c commit 918dcbe
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 @@ -410,7 +410,7 @@ func makeSmuxTransportOption(mplexExp bool) libp2p.Option {
ConnectionWriteTimeout: time.Second * 10,
KeepAliveInterval: time.Second * 30,
EnableKeepAlive: true,
MaxStreamWindowSize: uint32(1024 * 512),
MaxStreamWindowSize: uint32(16 * 1024 * 1024), // 16MiB
LogOutput: ioutil.Discard,
}

Expand Down

0 comments on commit 918dcbe

Please sign in to comment.