mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-16 23:09:01 +08:00
channelNum
This commit is contained in:
@@ -55,7 +55,7 @@ func (och *OnlineHistoryConsumerHandler) Init(cmdCh chan Cmd2Value) {
|
|||||||
go och.Run(i)
|
go och.Run(i)
|
||||||
}
|
}
|
||||||
for i := 0; i < ChannelNum; i++ {
|
for i := 0; i < ChannelNum; i++ {
|
||||||
och.chMongoArrays[i] = make(chan Cmd2Value, 100)
|
och.chMongoArrays[i] = make(chan Cmd2Value, 1000)
|
||||||
go och.MongoMessageRun(i)
|
go och.MongoMessageRun(i)
|
||||||
}
|
}
|
||||||
if config.Config.ReliableStorage {
|
if config.Config.ReliableStorage {
|
||||||
|
|||||||
Reference in New Issue
Block a user