change time watcher

This commit is contained in:
joseph le 2023-09-15 13:47:33 +07:00
parent feaf862e14
commit f5afad3393
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ export async function runtimeCheckLogs(folderPath) {
const filePath = `${folderPath}/${fileName}`;
const scan = fs.watchFile(
filePath,
{ interval: 300000 },
{ interval: 10000 },
async (eventType) => {
//check special item, extra RAM, error in log
let lines = [];