push update

pull/232/head
Gordon 3 years ago
parent 657ec411c3
commit 746b01f8ca

@ -164,7 +164,7 @@ func (och *OnlineHistoryConsumerHandler) SendMessageToMongoCH(userID string, tri
func (och *OnlineHistoryConsumerHandler) MongoMessageRun(channelID int) { func (och *OnlineHistoryConsumerHandler) MongoMessageRun(channelID int) {
for { for {
select { select {
case cmd := <-och.chArrays[channelID]: case cmd := <-och.chMongoArrays[channelID]:
switch cmd.Cmd { switch cmd.Cmd {
case MongoMessages: case MongoMessages:
msgChannelValue := cmd.Value.(MsgChannelValue) msgChannelValue := cmd.Value.(MsgChannelValue)

Loading…
Cancel
Save