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