update function sync SN to ERP
This commit is contained in:
parent
e355b0ad51
commit
980697f7ca
|
|
@ -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 = [];
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ const databaseConfig: DatabaseConfig = {
|
|||
},
|
||||
pool: {
|
||||
min: 1,
|
||||
max: 1000,
|
||||
max: 10000,
|
||||
acquireTimeoutMillis: 60 * 1000,
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue