update function get index serial number
This commit is contained in:
parent
112c26cd0d
commit
acd05f64a8
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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 = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue