update folder watcher

This commit is contained in:
joseph le 2023-09-04 14:22:14 +07:00
parent 339f684a26
commit 79946ba450
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [];