Unverified Commit 918dcbe9 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #6049 from ipfs/fix/yamux-window-size

yamux: increase yamux window size to 8MiB.
parents fdc1b76b 47f5c6c2
......@@ -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,
}
......
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