From ff092db97dfaebbcd2e48fe8dfa3dc89b57950b3 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Mon, 9 Aug 2021 12:58:01 +0200 Subject: [PATCH] Increase http timeout to 120s by default --- pkg/installer/client/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/installer/client/http.go b/pkg/installer/client/http.go index d985cb37..12d24b98 100644 --- a/pkg/installer/client/http.go +++ b/pkg/installer/client/http.go @@ -45,7 +45,7 @@ func NewHttpClient(r RepoData) *HttpClient { } func NewGrabClient() *grab.Client { - httpTimeout := 30 + httpTimeout := 120 timeout := os.Getenv("HTTP_TIMEOUT") if timeout != "" { timeoutI, err := strconv.Atoi(timeout)