diff --git a/app/utils/runtimeCheckLogs.ts b/app/utils/runtimeCheckLogs.ts index 6f8aa1c..db4d466 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 += 1000) { - const chunk = contentFile.slice(i, i + 1000); + for (let i = 0; i < contentFile.length; i += 50000) { + const chunk = contentFile.slice(i, i + 50000); chunk.map((line, index) => { //check line the line with errors and exclude errors