Commit f65e35dc authored by hujiebin's avatar hujiebin

Route to user打点是没有意义的

parent bdb3166c
...@@ -561,8 +561,8 @@ func (s *server) Route(ctx context.Context, in *userCenter.RouteMessage) (*userC ...@@ -561,8 +561,8 @@ func (s *server) Route(ctx context.Context, in *userCenter.RouteMessage) (*userC
var status uint32 = common.ROUTE_SUCCESS var status uint32 = common.ROUTE_SUCCESS
m := getChans(in.GetUid()) m := getChans(in.GetUid())
if len(m) > 0 { if len(m) > 0 {
for i, c := range m { for _, c := range m {
mylogrus.MyLog.Infof("Route to user %d, addr %s, channel %v", in.Uid, i, c) //mylogrus.MyLog.Infof("Route to user %d, addr %s, channel %v", in.Uid, i, c)
c <- ProtoData{ c <- ProtoData{
MsgType: in.GetMsgType(), MsgType: in.GetMsgType(),
Data: in.GetPayLoad(), Data: in.GetPayLoad(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment