From f5afad33936d7bff7fac260d6dbf83d2e93828c0 Mon Sep 17 00:00:00 2001 From: joseph le Date: Fri, 15 Sep 2023 13:47:33 +0700 Subject: [PATCH] change time watcher --- app/utils/runtimeCheckLogs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/runtimeCheckLogs.ts b/app/utils/runtimeCheckLogs.ts index 708c25e..afcbc93 100644 --- a/app/utils/runtimeCheckLogs.ts +++ b/app/utils/runtimeCheckLogs.ts @@ -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 = [];