From 246a928737e6274656adbd94fa82a3b67ff4a68a Mon Sep 17 00:00:00 2001 From: k1LoW Date: Mon, 15 Feb 2021 10:23:29 +0900 Subject: [PATCH] Expand client timeout --- icon/fetcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icon/fetcher.go b/icon/fetcher.go index dac69a1f..fdd40b54 100644 --- a/icon/fetcher.go +++ b/icon/fetcher.go @@ -27,7 +27,7 @@ type Fetcher interface { func Download(src, dest string) (string, error) { client := &http.Client{ - Timeout: 30 * time.Second, + Timeout: 60 * time.Second, Transport: &http.Transport{ Dial: (&net.Dialer{ Timeout: 5 * time.Second,