mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 10:52:33 +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.cancel()
|
||||||
m.historyCH.historyConsumerGroup.Close()
|
m.historyCH.historyConsumerGroup.Close()
|
||||||
m.historyMongoCH.historyConsumerGroup.Close()
|
m.historyMongoCH.historyConsumerGroup.Close()
|
||||||
|
return errors.New("SIGTERM received, shutting down")
|
||||||
|
|
||||||
case <-netDone:
|
case <-netDone:
|
||||||
m.cancel()
|
m.cancel()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user