opt: unset timeout for websocket connection

This commit is contained in:
RockYang
2023-08-15 18:29:53 +08:00
parent 35fedbe817
commit 40b2466adc
2 changed files with 8 additions and 5 deletions

View File

@@ -534,6 +534,7 @@ const connect = function (chat_id, role_id) {
} else { // 加载聊天记录
loadChatHistory(chat_id);
}
});
_socket.addEventListener('message', event => {