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