From fa8fd8116f89bd70d9fe02c0b006de786ac076e9 Mon Sep 17 00:00:00 2001 From: nguyentrungthat <80239428+nguentrungthat@users.noreply.github.com> Date: Fri, 27 Mar 2026 08:59:39 +0700 Subject: [PATCH] Update socket_io_provider.ts --- BACKEND/providers/socket_io_provider.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/BACKEND/providers/socket_io_provider.ts b/BACKEND/providers/socket_io_provider.ts index 531cf21..35aa6d3 100644 --- a/BACKEND/providers/socket_io_provider.ts +++ b/BACKEND/providers/socket_io_provider.ts @@ -313,6 +313,7 @@ export class WebSocketIo { let getListSystemLogs = fs .readdirSync('storage/system_logs') .map((f) => 'storage/system_logs/' + f) + .slice(0, 1000) io.to(socket.id).emit('list_logs', getListSystemLogs) // const listHistory = await this.getHistory(data?.stationId, data?.lineId)