From 19f6a8c868a169bbc3ec09555153c54b6dffbcf9 Mon Sep 17 00:00:00 2001 From: wdullaer Date: Wed, 29 Apr 2020 18:44:37 +0200 Subject: [PATCH] exoscale: fix HTTP timeout (#1130) --- providers/dns/exoscale/exoscale.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/dns/exoscale/exoscale.go b/providers/dns/exoscale/exoscale.go index 21be7f37..840d0f5f 100644 --- a/providers/dns/exoscale/exoscale.go +++ b/providers/dns/exoscale/exoscale.go @@ -47,7 +47,7 @@ func NewDefaultConfig() *Config { PropagationTimeout: env.GetOrDefaultSecond(EnvPropagationTimeout, dns01.DefaultPropagationTimeout), PollingInterval: env.GetOrDefaultSecond(EnvPollingInterval, dns01.DefaultPollingInterval), HTTPClient: &http.Client{ - Timeout: env.GetOrDefaultSecond(EnvHTTPTimeout, 30), + Timeout: env.GetOrDefaultSecond(EnvHTTPTimeout, 30*time.Second), }, } }