From 0015ef7540a23b8116f558273a618f90d6a9c7f6 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Tue, 12 Sep 2023 10:54:02 +0800 Subject: [PATCH] fix --- server/websocket/internal/logic/ws_reuse_last_connect.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/websocket/internal/logic/ws_reuse_last_connect.go b/server/websocket/internal/logic/ws_reuse_last_connect.go index 7df5c4b4..f788b8fd 100644 --- a/server/websocket/internal/logic/ws_reuse_last_connect.go +++ b/server/websocket/internal/logic/ws_reuse_last_connect.go @@ -15,7 +15,7 @@ type reuseConnProcessor struct { // 处理分发到这里的数据 func (r *reuseConnProcessor) allocationMessage(w *wsConnectItem, data []byte) { - logx.Info("收到请求恢复上次连接标识数据:", string(data)) + //logx.Info("收到请求恢复上次连接标识数据:", string(data)) var wid string if err := json.Unmarshal(data, &wid); err != nil { logx.Error(" invalid format of wid :", wid) @@ -60,7 +60,7 @@ func (r *reuseConnProcessor) allocationMessage(w *wsConnectItem, data []byte) { } } //重新绑定 - logx.Info("开始重新绑定websocket连接标识") + //logx.Info("开始重新绑定websocket连接标识") oldUniqueId := w.uniqueId w.uniqueId = wid mapConnPool.Store(wid, *w)