Update init.go

pull/1483/head
OpenIM-Gordon 2 years ago committed by GitHub
parent 964fad777a
commit 025f9b5205
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -23,6 +23,7 @@ import (
"syscall" "syscall"
"time" "time"
"net/http" "net/http"
"sync"
"github.com/OpenIMSDK/tools/errs" "github.com/OpenIMSDK/tools/errs"
@ -119,7 +120,7 @@ func (m *MsgTransfer) Start(prometheusPort int) error {
go func() { go func() {
defer wg.Done() defer wg.Done()
m.m.historyCH.historyConsumerGroup.RegisterHandleAndConsumer(ctx, m.historyCH) m.historyCH.historyConsumerGroup.RegisterHandleAndConsumer(ctx, m.historyCH)
}() }()
wg.Add(1) wg.Add(1)

Loading…
Cancel
Save