summaryrefslogtreecommitdiff
path: root/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'fetch')
-rw-r--r--fetch/http.go2
1 files changed, 1 insertions, 1 deletions
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)