From 39b9ee946286792801dde32273add279c7c0c4d5 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Sat, 28 May 2022 09:58:45 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=99=8D=E4=BD=8E=E5=B9=B6=E5=8F=91?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=97=B6IPv6=E7=AD=89=E5=BE=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dns/resolver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dns/resolver.go b/dns/resolver.go index abc686f4..4d788c18 100644 --- a/dns/resolver.go +++ b/dns/resolver.go @@ -88,8 +88,8 @@ func (r *Resolver) ResolveAllIP(host string) (ips []netip.Addr, err error) { return nil, resolver.ErrIPNotFound } ips = append(ips, ipv6s...) - case <-time.After(3 * time.Millisecond): - // wait ipv6 3ms + case <-time.After(1 * time.Millisecond): + // wait ipv6 result } return ips, nil