From c88f3b2354be17fc878ad257281f36c24c49fa1b Mon Sep 17 00:00:00 2001 From: joseph le Date: Wed, 4 Oct 2023 07:39:56 +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 7a7c649..bd8ed28 100644 --- a/app/utils/runtimeCheckLogs.ts +++ b/app/utils/runtimeCheckLogs.ts @@ -95,7 +95,7 @@ export async function runtimeCheckLogs(folderPath) { const filePath = `${folderPath}/${fileName}`; const scan = fs.watchFile( filePath, - { interval: 300000 }, + { interval: 15000 }, async (eventType) => { //check special item, extra RAM, error in log