将订单刷新改为持久化后台任务
This commit is contained in:
1 parent
6bc29829ba
commit
5b30551694
22 files changed
+883
-99
No files matched your search
@@ -334,6 +334,7 @@ func runServer(parent context.Context, opts serverOptions) error {
|
||||
}
|
||||
srv.StartPublishBatchRecovery(ctx)
|
||||
srv.StartOrderReconciliationRecovery(ctx)
|
||||
srv.StartOrderRefreshRecovery(ctx)
|
||||
// err 是 HTTP 服务显式启动失败的原因。
|
||||
if err := srv.Start(ctx); err != nil {
|
||||
return fmt.Errorf("启动 HTTP 服务失败: %w", err)
|
||||
|
||||
Reference in new issue
Block a user