diff --git a/fetch/http.go b/fetch/http.go index ae5a3bb..db84759 100644 --- a/fetch/http.go +++ b/fetch/http.go @@ -26,7 +26,7 @@ import ( // fetchHTTP will make a request for an http resource func fetchHTTP(remoteURL string) (*http.Response, error) { client := &http.Client{ - Timeout: 10 * time.Second, + Timeout: time.Duration(core.Timeout) * time.Second, } req, err := http.NewRequestWithContext(context.Background(), "GET", remoteURL, nil)