补充日志代码

This commit is contained in:
liwei1dao 2023-01-31 14:25:01 +08:00
parent e0d59fc0f8
commit 94a9cf9315
2 changed files with 2 additions and 3 deletions

View File

@ -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 {

View File

@ -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 {