申请AMCE证书时将预检查超时时间从1分钟改为2分钟

This commit is contained in:
GoEdgeLab
2024-05-12 16:25:05 +08:00
parent e8546b980c
commit af7823192a

View File

@@ -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
}