This commit is contained in:
手瓜一十雪 committed 2024-05-04 22:32:22 +08:00
1 parent a56b7ff636
commit b3c93644fd
3 files changed
+21 -26

No files matched your search

+1 -3
View File
@@ -101,9 +101,7 @@ export class ReverseWebsocket {
await this.onmessage(data.toString());
});
this.websocket.on('error', (err) => {
logError('websocket error', err.toString());
});
this.websocket.on('error', log);
const wsClientInterval = setInterval(() => {
postWsEvent(new OB11HeartbeatEvent(!!selfInfo.online, true, heartInterval));