change time watchFile
This commit is contained in:
		
							parent
							
								
									5a5757165d
								
							
						
					
					
						commit
						189e10f234
					
				| 
						 | 
				
			
			@ -77,7 +77,7 @@ export async function runtimeCheckLogs(folderPath) {
 | 
			
		|||
          const filePath = `${folderPath}/${fileName}`;
 | 
			
		||||
          const scan = fs.watchFile(
 | 
			
		||||
            filePath,
 | 
			
		||||
            { interval: 300000 },
 | 
			
		||||
            { interval: 5000 },
 | 
			
		||||
            async (eventType) => {
 | 
			
		||||
              //check special item, extra RAM, error in log
 | 
			
		||||
              let lines = [];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue