mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-13 10:21:10 +01:00
Change keep alive period and max idle timeout
This commit is contained in:
parent
ceaf62aad1
commit
57f54fb18c
@ -29,8 +29,8 @@ func (d Dialer) Dial(ctx context.Context, address string) (net.Conn, error) {
|
||||
}
|
||||
|
||||
quicConfig := &quic.Config{
|
||||
KeepAlivePeriod: 15 * time.Second,
|
||||
MaxIdleTimeout: 60 * time.Second,
|
||||
KeepAlivePeriod: 30 * time.Second,
|
||||
MaxIdleTimeout: 4 * time.Minute,
|
||||
EnableDatagrams: true,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user