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

View File

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