update function get index serial number

This commit is contained in:
joseph le 2023-08-28 08:16:01 +07:00
parent 112c26cd0d
commit acd05f64a8
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ export default class CheckToken {
public async handle(
{ request, response }: HttpContextContract,
next: () => Promise<void>
) {
) {
// code for middleware goes here. ABOVE THE NEXT CALL
try {
// const user = jwtDecode(request.headers().authorization);

View File

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