fix ping
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ wss.on('connection', function connection(ws: WebSocket & { isAlive: boolean }, r
|
||||
ws.isAlive = true
|
||||
}
|
||||
}
|
||||
ws.ping();
|
||||
ws.send("ping");
|
||||
})
|
||||
|
||||
const interval = setInterval(function ping() {
|
||||
|
||||
Reference in New Issue
Block a user