diff --git a/main.go b/main.go index f91e382e81b744cfa20741b20fc859caedbb0a75..8322a6114ba493a3afa8e800c21fed15447366ea 100644 --- a/main.go +++ b/main.go @@ -561,8 +561,8 @@ func (s *server) Route(ctx context.Context, in *userCenter.RouteMessage) (*userC var status uint32 = common.ROUTE_SUCCESS m := getChans(in.GetUid()) if len(m) > 0 { - for i, c := range m { - mylogrus.MyLog.Infof("Route to user %d, addr %s, channel %v", in.Uid, i, c) + for _, c := range m { + //mylogrus.MyLog.Infof("Route to user %d, addr %s, channel %v", in.Uid, i, c) c <- ProtoData{ MsgType: in.GetMsgType(), Data: in.GetPayLoad(),