Skip to content

Commit

Permalink
identity: drop default DNS timeout from 5s to 3s
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold committed Nov 15, 2024
1 parent 205eddb commit b7714c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atproto/identity/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
},
Expand Down

0 comments on commit b7714c6

Please sign in to comment.