make threshold higher because of people who don't refresh

This commit is contained in:
HF 2022-06-25 22:03:28 +02:00
parent a069bb9d75
commit 71bb9375d2

View File

@ -348,7 +348,7 @@ class SocketServer {
} }
checkHealth() { checkHealth() {
const ts = Date.now() - 15000; const ts = Date.now() - 120 * 1000;
this.wss.clients.forEach((ws) => { this.wss.clients.forEach((ws) => {
if ( if (
ws.readyState === WebSocket.OPEN ws.readyState === WebSocket.OPEN