fix: fix the tranfer exit error

pull/1885/head
luhaoling 2 years ago
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…
Cancel
Save