From 5525c82835b8d5b1c3c2ba16ec40d8fbb4de1f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=99=AF=E9=98=B3?= <1656488874@qq.com> Date: Mon, 28 Oct 2019 11:38:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BB=E5=8F=96=E6=97=A5=E5=BF=97=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA2M?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/model/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/model/log.go b/backend/model/log.go index abb77ed9..77e5094f 100644 --- a/backend/model/log.go +++ b/backend/model/log.go @@ -24,7 +24,7 @@ func GetLocalLog(logPath string) (fileBytes []byte, err error) { } defer utils.Close(f) - const bufLen = 1 * 1024 * 1024 + const bufLen = 2 * 1024 * 1024 logBuf := make([]byte, bufLen) off := int64(0)