0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 23:23:49 +01:00

Set QUIC keepalive again

This commit is contained in:
Neil Alexander 2020-07-08 15:44:37 +01:00
parent 2bb580c1b0
commit 689c3df02d
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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,
}