From 0f9acd78c4ed54f8da210f8dc2ec05746d516041 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 7 Nov 2022 22:12:29 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=9B=B4=E6=96=B0=E5=8C=85=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E8=B6=85=E6=97=B6=2030m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/updater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/updater.go b/kernel/model/updater.go index 7dc3c9a0d..83c9c1d03 100644 --- a/kernel/model/updater.go +++ b/kernel/model/updater.go @@ -171,7 +171,7 @@ func downloadInstallPkg(pkgURL, checksum string) (err error) { } logging.LogInfof("downloading install package [%s]", pkgURL) - client := req.C().SetTLSHandshakeTimeout(7 * time.Second).SetTimeout(10 * time.Minute) + client := req.C().SetTLSHandshakeTimeout(7 * time.Second).SetTimeout(30 * time.Minute) callback := func(info req.DownloadInfo) { //logging.LogDebugf("downloading install package [%s %.2f%%]", pkgURL, float64(info.DownloadedSize)/float64(info.Response.ContentLength)*100.0) }