From d88346ab5df72a2a1809e27d9994403ced006c71 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Fri, 15 Nov 2024 14:05:20 +0000 Subject: [PATCH] identity: drop default DNS timeout from 5s to 3s --- atproto/identity/identity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atproto/identity/identity.go b/atproto/identity/identity.go index c8192e6d4..c0453b2af 100644 --- a/atproto/identity/identity.go +++ b/atproto/identity/identity.go @@ -74,7 +74,7 @@ func DefaultDirectory() Directory { }, Resolver: net.Resolver{ Dial: func(ctx context.Context, network, address string) (net.Conn, error) { - d := net.Dialer{Timeout: time.Second * 5} + d := net.Dialer{Timeout: time.Second * 3} return d.DialContext(ctx, network, address) }, },