mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
resources: Increase timeout for http.Client
Increase timeout for http.Client in resources.GetRemote from 10 second to 1 minute Fixes #10478
This commit is contained in:
parent
d373774cbe
commit
a49e51fd0b
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue