Remove logs
This commit is contained in:
parent
8d83a94d61
commit
7a307e3de8
|
@ -29,13 +29,11 @@ export const createWebsocket = (path, heartbeat = true) => {
|
|||
let interval
|
||||
if (heartbeat) {
|
||||
interval = setInterval(() => {
|
||||
console.log("Sending heartbeat")
|
||||
socket.emit(SocketEvents.Heartbeat)
|
||||
}, SocketSessionTTL * 500)
|
||||
}
|
||||
|
||||
socket.on("disconnect", () => {
|
||||
console.log("clear interval")
|
||||
clearInterval(interval)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue