Merge pull request #278 from wo10378931/develop

读取日志修改为2M
This commit is contained in:
暗音
2019-10-28 11:41:56 +08:00
committed by GitHub

View File

@@ -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)