change runtimeCheckLog
This commit is contained in:
parent
af2f13174e
commit
58104d9b01
|
|
@ -159,6 +159,7 @@ export async function runtimeCheckLogs(folderPath) {
|
|||
if(contentFile.length>30000){
|
||||
for (let i = 0; i < contentFile.length; i += 10000) {
|
||||
const chunk = contentFile.slice(i, i + 10000);
|
||||
setTimeout(() => {
|
||||
chunk.map((line, index) => {
|
||||
//check line the line with errors and exclude errors
|
||||
listKeyValues
|
||||
|
|
@ -193,6 +194,7 @@ export async function runtimeCheckLogs(folderPath) {
|
|||
// if(checkSpecialVersion())
|
||||
});
|
||||
});
|
||||
}, 3000);
|
||||
}
|
||||
}else{
|
||||
contentFile.map((line, index) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue