From e242f5a15211a75637591aa0d2c82d14b235d706 Mon Sep 17 00:00:00 2001 From: Craig Peterson <192540+captncraig@users.noreply.github.com> Date: Thu, 2 May 2019 19:31:15 -0400 Subject: [PATCH] Increase 'just because' sleep to 60s --- pkg/acme/checkDns.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/acme/checkDns.go b/pkg/acme/checkDns.go index a2d45d28b..cb088f855 100644 --- a/pkg/acme/checkDns.go +++ b/pkg/acme/checkDns.go @@ -13,14 +13,14 @@ func (c *certManager) preCheckDNS(fqdn, value string) (bool, error) { // default record verification in the client library makes sure the authoritative nameservers // have the expected records. // Sometimes the Let's Encrypt verification fails anyway because records have not propagated the provider's network fully. - // So we add an additional 20 second sleep just for safety. + // So we add an additional 60 second sleep just for safety. v, err := acmePreCheck(fqdn, value) if err != nil { return v, err } if !c.waitedOnce { - log.Printf("DNS ok. Waiting another 20s to ensure stability.") - time.Sleep(20 * time.Second) + log.Printf("DNS ok. Waiting another 60s to ensure stability.") + time.Sleep(60 * time.Second) c.waitedOnce = true } log.Printf("DNS records seem to exist. Proceeding to request validation")