agnhost: increase dns timeout from 5 seconds to 20 seconds
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
This commit is contained in:
parent
862aa6d3a0
commit
0a368288ac
@ -187,7 +187,7 @@ func ensureWindowsDNSAvailability(issuer string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
return wait.PollImmediate(1*time.Second, 5*time.Second, func() (bool, error) {
|
return wait.PollImmediate(5*time.Second, 20*time.Second, func() (bool, error) {
|
||||||
ips, err := net.LookupHost(u.Host)
|
ips, err := net.LookupHost(u.Host)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user