mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 23:20:26 +08:00
申请AMCE证书时将预检查超时时间从1分钟改为2分钟
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DNSProvider struct {
|
type DNSProvider struct {
|
||||||
@@ -78,6 +79,10 @@ func (this *DNSProvider) Present(domain, token, keyAuth string) error {
|
|||||||
return nil
|
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 {
|
func (this *DNSProvider) CleanUp(domain, token, keyAuth string) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user