mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02: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:
@@ -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(),
|
||||
}
|
||||
|
Reference in New Issue
Block a user