fix: platform_order 本地直跑改为直接执行,不再 serve 同名 deployment(会覆盖正式部署导致 Not Ready)

This commit is contained in:
yeuimu
2026-09-19 02:57:01 +00:00
parent 5aaddbbf7c
commit 1393b2a86b
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -471,4 +471,5 @@ async def sdspod_platform_sync():
if __name__ == "__main__":
sdspod_platform_sync.serve(name="platform-order-sdspod", cron="*/15 * * * *")
# 直跑一次用于本地调试;勿改回 serve():同名 upsert 会覆盖 server 上挂 work pool 的正式 deployment
sdspod_platform_sync()