mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 02:58:26 +08:00
channelNum
This commit is contained in:
parent
5621a651a1
commit
2910a6effd
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user