update folder watcher
This commit is contained in:
		
							parent
							
								
									339f684a26
								
							
						
					
					
						commit
						79946ba450
					
				| 
						 | 
				
			
			@ -76,7 +76,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