检测服务关闭~
This commit is contained in:
parent
f59bf4fa15
commit
433982c75b
|
|
@ -167,6 +167,8 @@ func (w *WechatNotifyConsumer) Stop(_ context.Context) error {
|
||||||
//shutdown之间,保证正在处理的消费先提交
|
//shutdown之间,保证正在处理的消费先提交
|
||||||
_ = w.blockWaitFinish()
|
_ = w.blockWaitFinish()
|
||||||
|
|
||||||
|
fmt.Println("关闭 wechat consumer 完成")
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue