make threshold higher because of people who don't refresh
This commit is contained in:
parent
a069bb9d75
commit
71bb9375d2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user