diff --git a/pkg/config/pmapi_prod.go b/pkg/config/pmapi_prod.go index 4465cfbf..5107d8e1 100644 --- a/pkg/config/pmapi_prod.go +++ b/pkg/config/pmapi_prod.go @@ -33,7 +33,7 @@ func (c *Config) GetAPIConfig() *pmapi.ClientConfig { return &pmapi.ClientConfig{ AppVersion: strings.Title(c.appName) + "_" + c.version, ClientID: c.appName, - Timeout: 10 * time.Minute, // Overall request timeout (~25MB / 10 mins => ~40kB/s, should be reasonable). + Timeout: 25 * time.Minute, // Overall request timeout (~25MB / 25 mins => ~16kB/s, should be reasonable). FirstReadTimeout: 30 * time.Second, // 30s to match 30s response header timeout. MinBytesPerSecond: 1 << 10, // Enforce minimum download speed of 1kB/s. }