chore: Increase idle timeout and add keep alive period
This commit is contained in:
parent
c3035df5be
commit
6fc60edf75
1 changed files with 2 additions and 1 deletions
|
@ -142,7 +142,8 @@ func (dc *quicClient) openConnection(ctx context.Context) (quic.Connection, erro
|
||||||
ConnectionIDLength: 12,
|
ConnectionIDLength: 12,
|
||||||
HandshakeIdleTimeout: time.Second * 8,
|
HandshakeIdleTimeout: time.Second * 8,
|
||||||
MaxIncomingStreams: 4,
|
MaxIncomingStreams: 4,
|
||||||
MaxIdleTimeout: time.Second * 30,
|
KeepAlivePeriod: 10 * time.Second,
|
||||||
|
MaxIdleTimeout: time.Second * 120,
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Debugln("opening new connection to %s", dc.addr)
|
log.Debugln("opening new connection to %s", dc.addr)
|
||||||
|
|
Loading…
Reference in a new issue