pull/232/head
Gordon 3 years ago
parent c83e816bda
commit 5621a651a1

@ -51,11 +51,11 @@ func (och *OnlineHistoryConsumerHandler) Init(cmdCh chan Cmd2Value) {
go och.MessagesDistributionHandle()
och.cmdCh = cmdCh
for i := 0; i < ChannelNum; i++ {
och.chArrays[i] = make(chan Cmd2Value, 100)
och.chArrays[i] = make(chan Cmd2Value, 10)
go och.Run(i)
}
for i := 0; i < ChannelNum; i++ {
och.chMongoArrays[i] = make(chan Cmd2Value, 1000)
och.chMongoArrays[i] = make(chan Cmd2Value, 100)
go och.MongoMessageRun(i)
}
if config.Config.ReliableStorage {

Loading…
Cancel
Save