将订单刷新改为持久化后台任务

This commit is contained in:
Christ committed 2026-08-15 16:35:08 +08:00
1 parent 6bc29829ba
commit 5b30551694
22 files changed
+883 -99

No files matched your search

+1
View File
@@ -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)