From af2f13174edbff2ac444324a10cf97276606b1b1 Mon Sep 17 00:00:00 2001 From: joseph le Date: Wed, 4 Oct 2023 10:15:54 +0700 Subject: [PATCH] change runtimeCheckLog --- app/utils/runtimeCheckLogs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/runtimeCheckLogs.ts b/app/utils/runtimeCheckLogs.ts index 0a27223..6b882cc 100644 --- a/app/utils/runtimeCheckLogs.ts +++ b/app/utils/runtimeCheckLogs.ts @@ -157,8 +157,8 @@ export async function runtimeCheckLogs(folderPath) { console.log(contentFile.length) //Process file content if(contentFile.length>30000){ - for (let i = 0; i < contentFile.length; i += 30000) { - const chunk = contentFile.slice(i, i + 30000); + for (let i = 0; i < contentFile.length; i += 10000) { + const chunk = contentFile.slice(i, i + 10000); chunk.map((line, index) => { //check line the line with errors and exclude errors listKeyValues