Skip to content

Commit d22dc41

Browse files
committed
Maint: pubip: default timeout to 3s for DNS
1 parent 76b1f5f commit d22dc41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/publicip/dns/options.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ type settings struct {
88
}
99

1010
func newDefaultSettings() settings {
11+
const defaultTimeout = 3 * time.Second
1112
return settings{
1213
providers: ListProviders(),
13-
timeout: time.Second,
14+
timeout: defaultTimeout,
1415
}
1516
}
1617

0 commit comments

Comments
 (0)