mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
chore: adjust timeout
This commit is contained in:
parent
304194b9f6
commit
99c2216cba
2 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ type Config struct {
|
|||
// NewDefaultConfig returns a default configuration for the DNSProvider.
|
||||
func NewDefaultConfig() *Config {
|
||||
return &Config{
|
||||
PropagationTimeout: env.GetOrDefaultSecond(EnvPropagationTimeout, 350*time.Second),
|
||||
PropagationTimeout: env.GetOrDefaultSecond(EnvPropagationTimeout, 6*time.Minute),
|
||||
PollingInterval: env.GetOrDefaultSecond(EnvPollingInterval, dns01.DefaultPollingInterval),
|
||||
HTTPClient: &http.Client{
|
||||
Timeout: env.GetOrDefaultSecond(EnvHTTPTimeout, 30*time.Second),
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ lego --dns artfiles -d '*.example.com' -d example.com run
|
|||
ARTFILES_PASSWORD = "API password"
|
||||
[Configuration.Additional]
|
||||
ARTFILES_POLLING_INTERVAL = "Time between DNS propagation check in seconds (Default: 2)"
|
||||
ARTFILES_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation in seconds (Default: 300)"
|
||||
ARTFILES_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation in seconds (Default: 350)"
|
||||
ARTFILES_TTL = "The TTL of the TXT record used for the DNS challenge in seconds (Default: 120)"
|
||||
ARTFILES_HTTP_TIMEOUT = "API request timeout in seconds (Default: 30)"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue