This commit is contained in:
wangchuxiao
2023-05-08 15:16:47 +08:00
parent c8b4b9b669
commit f6c6ea8706
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -83,6 +83,7 @@ func (m *MsgTransfer) initPrometheus() {
func (m *MsgTransfer) Start(prometheusPort int) error {
var wg sync.WaitGroup
wg.Add(1)
fmt.Println("start msg transfer", "prometheusPort:", prometheusPort)
if config.Config.ChatPersistenceMysql {
go m.persistentCH.persistentConsumerGroup.RegisterHandleAndConsumer(m.persistentCH)