From af7823192aa242a8dc58330219dc34516ed98e9f Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 12 May 2024 16:25:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7AMCE=E8=AF=81=E4=B9=A6?= =?UTF-8?q?=E6=97=B6=E5=B0=86=E9=A2=84=E6=A3=80=E6=9F=A5=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E4=BB=8E1=E5=88=86=E9=92=9F=E6=94=B9?= =?UTF-8?q?=E4=B8=BA2=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/acme/dns_provider.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/acme/dns_provider.go b/internal/acme/dns_provider.go index 4a6b29b7..33ceb248 100644 --- a/internal/acme/dns_provider.go +++ b/internal/acme/dns_provider.go @@ -10,6 +10,7 @@ import ( "os" "strings" "sync" + "time" ) type DNSProvider struct { @@ -78,6 +79,10 @@ func (this *DNSProvider) Present(domain, token, keyAuth string) error { return nil } +func (this *DNSProvider) Timeout() (timeout, interval time.Duration) { + return 2 * time.Minute, 2 * time.Second +} + func (this *DNSProvider) CleanUp(domain, token, keyAuth string) error { return nil }