Set QUIC keepalive again
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