mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-22 11:41:38 +00:00
Set QUIC keepalive again
This commit is contained in:
parent
2bb580c1b0
commit
689c3df02d
@ -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 New Issue
Block a user