接入订单状态补偿恢复任务
This commit is contained in:
1 parent
44aa43c299
commit
d264b5bee3
6 files changed
+244
No files matched your search
@@ -333,6 +333,7 @@ func runServer(parent context.Context, opts serverOptions) error {
|
||||
return fmt.Errorf("构造 HTTP 服务失败: %w", err)
|
||||
}
|
||||
srv.StartPublishBatchRecovery(ctx)
|
||||
srv.StartOrderReconciliationRecovery(ctx)
|
||||
// err 是 HTTP 服务显式启动失败的原因。
|
||||
if err := srv.Start(ctx); err != nil {
|
||||
return fmt.Errorf("启动 HTTP 服务失败: %w", err)
|
||||
|
||||
Reference in new issue
Block a user