From 94a9cf93150a8db61f994d280fbbd186a9458915 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Tue, 31 Jan 2023 14:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=97=A5=E5=BF=97=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/gateway/agent.go | 3 +-- modules/gateway/agentmgr_comp.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/gateway/agent.go b/modules/gateway/agent.go index 09d3cbceb..b0de4c975 100644 --- a/modules/gateway/agent.go +++ b/modules/gateway/agent.go @@ -89,8 +89,7 @@ locp: SubType: "heartbeat", Data: data, }) - - //this.wsConn.SetReadDeadline(configure.Now().Add(time.Second * 30)) + //this.wsConn.SetReadDeadline(time.Now().Add(time.Second * 30)) continue } if err := this.messageDistribution(msg); err != nil { diff --git a/modules/gateway/agentmgr_comp.go b/modules/gateway/agentmgr_comp.go index cb293dab4..8d6caff85 100644 --- a/modules/gateway/agentmgr_comp.go +++ b/modules/gateway/agentmgr_comp.go @@ -95,7 +95,7 @@ func (this *AgentMgrComp) Bind(ctx context.Context, args *pb.AgentBuildReq, repl UserSessionId: agent.SessionId(), UserId: agent.UserId(), }, nil); err != nil { - log.Errorf("uId:%s Rpc_NoticeUserLogin err:%v", agent.UserId(), err) + log.Errorf("uId:%s clusterTag:%s Rpc_NoticeUserLogin err:%v", agent.UserId(), db.CrossTag(), err) } // } } else {