From 5ae56fc449af46420caa08e5b9e620e9d1cb0529 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Wed, 14 Jun 2023 14:20:02 +0800 Subject: [PATCH] refactor: kick user --- internal/msggateway/n_ws_server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/msggateway/n_ws_server.go b/internal/msggateway/n_ws_server.go index de2788cb0..32b2a7283 100644 --- a/internal/msggateway/n_ws_server.go +++ b/internal/msggateway/n_ws_server.go @@ -232,7 +232,6 @@ func (ws *WsServer) unregisterClient(client *Client) { } func (ws *WsServer) wsHandler(w http.ResponseWriter, r *http.Request) { - defer log.ZInfo(context.Background(), "wsHandler", "remote addr", "url", r.URL.String()) connContext := newContext(w, r) if ws.onlineUserConnNum >= ws.wsMaxConnNum { httpError(connContext, errs.ErrConnOverMaxNumLimit)