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