Remove logs

This commit is contained in:
Andrew Kingston 2023-05-31 15:14:33 +01:00
parent 8d83a94d61
commit 7a307e3de8
1 changed files with 0 additions and 2 deletions

View File

@ -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)
})