diff options
author | Anton Sattarov <sattarov@perx.ru> | 2022-12-03 17:47:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 15:47:47 +0100 |
commit | a49e51fd0b03c261358643fb6656257158d95520 (patch) | |
tree | e57bdba3c48feecd783f7aa950bde0c2a21be277 /resources | |
parent | d373774cbe71b67eb9d5526749220fd17f13cd87 (diff) |
resources: Increase timeout for http.Client
Increase timeout for http.Client in resources.GetRemote from 10 second to 1 minute
Fixes #10478
Diffstat (limited to 'resources')
-rw-r--r-- | resources/resource_factories/create/create.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/resource_factories/create/create.go b/resources/resource_factories/create/create.go index 075d25736..b8ac5bb34 100644 --- a/resources/resource_factories/create/create.go +++ b/resources/resource_factories/create/create.go @@ -45,7 +45,7 @@ func New(rs *resources.Spec) *Client { return &Client{ rs: rs, httpClient: &http.Client{ - Timeout: 10 * time.Second, + Timeout: time.Minute, }, cacheGetResource: rs.FileCaches.GetResourceCache(), } |