diff --git a/BACKEND/providers/socket_io_provider.ts b/BACKEND/providers/socket_io_provider.ts index 64af888..11bc6b1 100644 --- a/BACKEND/providers/socket_io_provider.ts +++ b/BACKEND/providers/socket_io_provider.ts @@ -416,8 +416,8 @@ export class WebSocketIo { console.log(`Socket server is running on port ${SOCKET_IO_PORT}`) }) - // 🔹 Tự động lưu dữ liệu định kỳ mỗi 10 giây - setInterval(async () => await this.saveState(), 10000) + // 🔹 Tự động lưu dữ liệu định kỳ mỗi 60 giây + setInterval(async () => await this.saveState(), 60000) return io }