fix: del the error return in tranfer

This commit is contained in:
luhaoling 2024-02-18 19:33:00 +08:00
parent 80c851c71d
commit 98330159fe

View File

@ -145,8 +145,6 @@ func (m *MsgTransfer) Start(prometheusPort int) error {
m.cancel()
m.historyCH.historyConsumerGroup.Close()
m.historyMongoCH.historyConsumerGroup.Close()
fmt.Println("SIGTERM SIGTERM received")
return errors.New("SIGTERM received, shutting down")
case <-netDone:
m.cancel()