mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-15 02:23:43 +01:00
Set QUIC keepalive again
This commit is contained in:
parent
2bb580c1b0
commit
689c3df02d
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ func Setup(instanceName, storageDirectory string) (*Node, error) {
|
||||||
n.quicConfig = &quic.Config{
|
n.quicConfig = &quic.Config{
|
||||||
MaxIncomingStreams: 0,
|
MaxIncomingStreams: 0,
|
||||||
MaxIncomingUniStreams: 0,
|
MaxIncomingUniStreams: 0,
|
||||||
KeepAlive: false,
|
KeepAlive: true,
|
||||||
MaxIdleTimeout: time.Second * 60,
|
MaxIdleTimeout: time.Second * 60,
|
||||||
HandshakeTimeout: time.Second * 30,
|
HandshakeTimeout: time.Second * 30,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue