Update
This commit is contained in:
parent
34d0f082f5
commit
77787b3c93
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue