loggign
This commit is contained in:
@ -166,6 +166,7 @@ ws.on("close", (event: CloseEvent) => {
|
||||
ws.on("open", () => {
|
||||
setInterval(() => {
|
||||
ws.send(JSON.stringify({ type: "ping" }));
|
||||
console.log("Sending ping to keep session alive...");
|
||||
}, 20000);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user