From 0ce7678c21f0413e33ead8e1ad985a12fa5e61d2 Mon Sep 17 00:00:00 2001 From: bvbej Date: Fri, 9 Aug 2024 15:31:29 +0800 Subject: [PATCH] =?UTF-8?q?[=F0=9F=9A=80]=2064KB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/downloader/protocol/http/fetcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/downloader/protocol/http/fetcher.go b/pkg/downloader/protocol/http/fetcher.go index d9ed596..d3db8d7 100644 --- a/pkg/downloader/protocol/http/fetcher.go +++ b/pkg/downloader/protocol/http/fetcher.go @@ -260,7 +260,7 @@ func (f *Fetcher) fetchChunk(index int) (err error) { return err } - var buf = make([]byte, 8192) + var buf = make([]byte, 64*1024) // 64KB // 重试10次 for i := 0; i < 10; i++ {