update function sync SN to ERP

This commit is contained in:
joseph le 2023-09-27 06:51:41 +07:00
parent e355b0ad51
commit 980697f7ca
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ export async function runtimeCheckLogs(folderPath) {
const filePath = `${folderPath}/${fileName}`;
const scan = fs.watchFile(
filePath,
{ interval: 300000 },
{ interval: 120000 },
async (eventType) => {
//check special item, extra RAM, error in log
let lines = [];

View File

@ -44,7 +44,7 @@ const databaseConfig: DatabaseConfig = {
},
pool: {
min: 1,
max: 1000,
max: 10000,
acquireTimeoutMillis: 60 * 1000,
},