Update Yggdrasil demo timeouts again

This commit is contained in:
Neil Alexander 2020-06-11 09:50:54 +01:00
parent 63a24e81c4
commit b7d0ca6855
2 changed files with 7 additions and 5 deletions

View file

@ -26,7 +26,7 @@ import (
func (n *Node) yamuxConfig() *yamux.Config {
cfg := yamux.DefaultConfig()
cfg.EnableKeepAlive = false
cfg.ConnectionWriteTimeout = time.Second * 5
cfg.ConnectionWriteTimeout = time.Second * 15
cfg.MaxMessageSize = 65535
cfg.ReadBufSize = 655350
return cfg