Increase the timeout on plugin download

This commit is contained in:
Ludovic Fernandez 2022-11-22 18:30:05 +01:00 committed by GitHub
parent 52e6ce95cf
commit 81a5b1b4c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ func NewClient(opts ClientOptions) (*Client, error) {
} }
return &Client{ return &Client{
HTTPClient: &http.Client{Timeout: 5 * time.Second}, HTTPClient: &http.Client{Timeout: 10 * time.Second},
baseURL: baseURL, baseURL: baseURL,
archives: archivesPath, archives: archivesPath,