This commit is contained in:
手瓜一十雪 committed 2024-11-15 15:24:44 +08:00
1 parent 982eb36216
commit 22568bd3ef
2 files changed
+12 -6

No files matched your search

+4 -1
View File
@@ -115,7 +115,10 @@ export class OB11PassiveWebSocketAdapter implements IOB11NetworkAdapter {
this.logger.log('[OneBot] [WebSocket Server] Server Started', typeof (addressInfo) === 'string' ? addressInfo : addressInfo?.address + ':' + addressInfo?.port);
this.isOpen = true;
this.registerHeartBeat();
if (this.heartbeatInterval > 0) {
this.registerHeartBeat();
}
}
async close() {