Merge remote-tracking branch 'origin/tuoyun' into tuoyun

pull/232/head
skiffer-git 3 years ago
commit b2ae3b4fee

@ -129,9 +129,15 @@ func (och *OnlineHistoryConsumerHandler) Run(channelID int) {
singleMsgSuccessCountMutex.Lock() singleMsgSuccessCountMutex.Lock()
singleMsgSuccessCount += uint64(len(storageMsgList)) singleMsgSuccessCount += uint64(len(storageMsgList))
singleMsgSuccessCountMutex.Unlock() singleMsgSuccessCountMutex.Unlock()
for _, v := range pushMsgList { //go func(push,storage []*pbMsg.MsgDataToMQ) {
sendMessageToPush(v, msgChannelValue.userID) // for _, v := range storage {
} // sendMessageToPush(v, msgChannelValue.userID)
// }
// for _, x := range utils.DifferenceString() {
// sendMessageToPush(v, msgChannelValue.userID)
// }
//
//}(pushMsgList,storageMsgList)
} }
} }

Loading…
Cancel
Save