change runtimeCheckLog
This commit is contained in:
		
							parent
							
								
									3093f39ab6
								
							
						
					
					
						commit
						af2f13174e
					
				| 
						 | 
					@ -157,8 +157,8 @@ export async function runtimeCheckLogs(folderPath) {
 | 
				
			||||||
            console.log(contentFile.length)
 | 
					            console.log(contentFile.length)
 | 
				
			||||||
          //Process file content
 | 
					          //Process file content
 | 
				
			||||||
          if(contentFile.length>30000){
 | 
					          if(contentFile.length>30000){
 | 
				
			||||||
            for (let i = 0; i < contentFile.length; i += 30000) {
 | 
					            for (let i = 0; i < contentFile.length; i += 10000) {
 | 
				
			||||||
              const chunk = contentFile.slice(i, i + 30000);
 | 
					              const chunk = contentFile.slice(i, i + 10000);
 | 
				
			||||||
              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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue