change time watchFile
This commit is contained in:
parent
189e10f234
commit
b97e874f00
|
|
@ -77,7 +77,7 @@ export async function runtimeCheckLogs(folderPath) {
|
|||
const filePath = `${folderPath}/${fileName}`;
|
||||
const scan = fs.watchFile(
|
||||
filePath,
|
||||
{ interval: 5000 },
|
||||
{ interval: 300000 },
|
||||
async (eventType) => {
|
||||
//check special item, extra RAM, error in log
|
||||
let lines = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue