Skip to content

Commit

Permalink
resources: Increase timeout for http.Client
Browse files Browse the repository at this point in the history
Increase timeout for http.Client in resources.GetRemote  from 10 second to 1 minute

Fixes #10478
  • Loading branch information
dirtymew committed Dec 3, 2022
1 parent d373774 commit a49e51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/resource_factories/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
Expand Down

0 comments on commit a49e51f

Please sign in to comment.