Skip to content

Commit

Permalink
Maint: pubip: default timeout to 3s for DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jun 29, 2021
1 parent 76b1f5f commit d22dc41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/publicip/dns/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ type settings struct {
}

func newDefaultSettings() settings {
const defaultTimeout = 3 * time.Second
return settings{
providers: ListProviders(),
timeout: time.Second,
timeout: defaultTimeout,
}
}

Expand Down

0 comments on commit d22dc41

Please sign in to comment.