change time watcher

This commit is contained in:
joseph le 2023-10-04 07:39:56 +07:00
parent 9eab08377c
commit c88f3b2354
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,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: 15000 },
async (eventType) => { async (eventType) => {
//check special item, extra RAM, error in log //check special item, extra RAM, error in log