concurrent consumption of messages

This commit is contained in:
Gordon
2022-05-20 13:33:38 +08:00
parent 0fbc1095be
commit 06726758d2
3 changed files with 336 additions and 67 deletions
+3
View File
@@ -13,6 +13,9 @@ import (
const OnlineTopicBusy = 1
const OnlineTopicVacancy = 0
const Msg = 2
const ConsumerMsgs = 3
const UserMessages = 4
const ChannelNum = 10
var (
persistentCH PersistentConsumerHandler