mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 12:57:44 +08:00
Merge pull request #4326 from ipfs/fix/sane-accept-buffer-size
lower yamux accept buffer size
This commit is contained in:
commit
3119f63bb2
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user