mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
fix: del the error return in tranfer
This commit is contained in:
parent
80c851c71d
commit
98330159fe
@ -145,8 +145,6 @@ 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()
|
||||||
fmt.Println("SIGTERM SIGTERM received")
|
|
||||||
return errors.New("SIGTERM received, shutting down")
|
|
||||||
|
|
||||||
case <-netDone:
|
case <-netDone:
|
||||||
m.cancel()
|
m.cancel()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user