update config database

This commit is contained in:
joseph le 2023-09-21 10:46:41 +07:00
parent e246e6169c
commit bac085e9ce
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import { getListLineByItem } from "./getListLineByItem";
export async function runtimeCheckLogs(folderPath) {
try {
const { connection } = Database.manager.get('mysql')
let fileList = Array();
let fileList_old = Array();
// Function to update the list of files
@ -275,10 +276,12 @@ export async function runtimeCheckLogs(folderPath) {
issueFound
);
}
await connection.disconnect()
}, 3000);
//false: next
}
);
//setMaxListeners
scan.setMaxListeners(0);
});