aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-demo-yggdrasil/yggconn/session.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-06-11 09:50:54 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-06-11 09:50:54 +0100
commitb7d0ca68554a41c4ca04370fc9343fc4b2b99257 (patch)
tree2e21411dfe54467f4e1c136fd1c79ff6bfbaafff /cmd/dendrite-demo-yggdrasil/yggconn/session.go
parent63a24e81c49f8956de50a876c45c32775bd2acc6 (diff)
Update Yggdrasil demo timeouts again
Diffstat (limited to 'cmd/dendrite-demo-yggdrasil/yggconn/session.go')
-rw-r--r--cmd/dendrite-demo-yggdrasil/yggconn/session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-demo-yggdrasil/yggconn/session.go b/cmd/dendrite-demo-yggdrasil/yggconn/session.go
index 32ae014a..8d96a9cb 100644
--- a/cmd/dendrite-demo-yggdrasil/yggconn/session.go
+++ b/cmd/dendrite-demo-yggdrasil/yggconn/session.go
@@ -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