From c17d7438863ec405f77c3a9a8705bcf2205b6de5 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 26 Jul 2021 16:16:08 -0700 Subject: [PATCH] net/dnscache: update a comment Signed-off-by: Brad Fitzpatrick --- net/dnscache/dnscache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dnscache/dnscache.go b/net/dnscache/dnscache.go index 072d6fd7a..6b010d4a7 100644 --- a/net/dnscache/dnscache.go +++ b/net/dnscache/dnscache.go @@ -352,7 +352,7 @@ func Dialer(fwd DialContextFunc, dnsCache *Resolver) DialContextFunc { const fallbackDelay = 300 * time.Millisecond // raceDial tries to dial port on each ip in ips, starting a new race -// dial every 300ms apart, returning whichever completes first. +// dial every fallbackDelay apart, returning whichever completes first. func raceDial(ctx context.Context, fwd DialContextFunc, network string, ips []netaddr.IP, port string) (net.Conn, error) { ctx, cancel := context.WithCancel(ctx) defer cancel()