From 7adbbd6f81334d6190ccd7d1c8afa5ae4832ad63 Mon Sep 17 00:00:00 2001 From: SuperKenVery <39673849+SuperKenVery@users.noreply.github.com> Date: Tue, 1 Aug 2023 10:48:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=AD=BE=E5=90=8D=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E8=AF=B7=E6=B1=82=E8=B6=85=E6=97=B6=E6=97=B6?= =?UTF-8?q?=E9=97=B4=20(#2302)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Increase timeout in download * 直接改一分钟好了 --------- Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com> --- internal/download/download.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/download/download.go b/internal/download/download.go index feaec23..ac5ae03 100644 --- a/internal/download/download.go +++ b/internal/download/download.go @@ -33,7 +33,7 @@ var client = &http.Client{ TLSNextProto: map[string]func(authority string, c *tls.Conn) http.RoundTripper{}, MaxIdleConnsPerHost: 999, }, - Timeout: time.Second * 15, + Timeout: time.Minute, } var clienth2 = &http.Client{