From 3cc12a3d69e72bd1bd22bf52860bcb1a26073a9f Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 22 Jul 2023 20:23:33 +0200 Subject: [PATCH] Increase timeout of self-check --- compat/selfcheck.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat/selfcheck.go b/compat/selfcheck.go index c1508d12..4515d93c 100644 --- a/compat/selfcheck.go +++ b/compat/selfcheck.go @@ -28,12 +28,12 @@ var ( systemIntegrationCheckDialNet = fmt.Sprintf("ip4:%d", uint8(SystemIntegrationCheckProtocol)) systemIntegrationCheckDialIP = SystemIntegrationCheckDstIP.String() systemIntegrationCheckPackets = make(chan packet.Packet, 1) - systemIntegrationCheckWaitDuration = 20 * time.Second + systemIntegrationCheckWaitDuration = 40 * time.Second // DNSCheckInternalDomainScope is the domain scope to use for dns checks. DNSCheckInternalDomainScope = ".self-check." + resolver.InternalSpecialUseDomain dnsCheckReceivedDomain = make(chan string, 1) - dnsCheckWaitDuration = 20 * time.Second + dnsCheckWaitDuration = 40 * time.Second dnsCheckAnswerLock sync.Mutex dnsCheckAnswer net.IP )