aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-07-08 15:44:37 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-07-08 15:44:37 +0100
commit689c3df02dc0d499371625614231ea7997707307 (patch)
tree8d1952523a9e65178c86bc199f2a352b071fb86c /cmd
parent2bb580c1b09fb927bdd213f8783dc6fa1d7c25f1 (diff)
Set QUIC keepalive again
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dendrite-demo-yggdrasil/yggconn/node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-demo-yggdrasil/yggconn/node.go b/cmd/dendrite-demo-yggdrasil/yggconn/node.go
index f471289e..79a56c8e 100644
--- a/cmd/dendrite-demo-yggdrasil/yggconn/node.go
+++ b/cmd/dendrite-demo-yggdrasil/yggconn/node.go
@@ -136,7 +136,7 @@ func Setup(instanceName, storageDirectory string) (*Node, error) {
n.quicConfig = &quic.Config{
MaxIncomingStreams: 0,
MaxIncomingUniStreams: 0,
- KeepAlive: false,
+ KeepAlive: true,
MaxIdleTimeout: time.Second * 60,
HandshakeTimeout: time.Second * 30,
}