mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
fix: fix the tranfer exit error
This commit is contained in:
parent
3d9700be29
commit
af85f4ea46
@ -145,6 +145,7 @@ func (m *MsgTransfer) Start(prometheusPort int) error {
|
||||
m.cancel()
|
||||
m.historyCH.historyConsumerGroup.Close()
|
||||
m.historyMongoCH.historyConsumerGroup.Close()
|
||||
return errors.New("SIGTERM received, shutting down")
|
||||
|
||||
case <-netDone:
|
||||
m.cancel()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user