feat(shipping-notice): 增加 RPA Worker 心跳上报与状态查询功能

This commit is contained in:
hugo committed 2026-07-12 12:52:01 +08:00
1 parent c3f05ba96b
commit 5a147c4d85
49 files changed
+4032 -1500

No files matched your search

+7
View File
@@ -23,6 +23,13 @@ server {
location /api/ {
# 转发到 Gunicorn (Gevent)
proxy_pass http://127.0.0.1:5000;
# 请求体上限(主要约束上传;库存 ZIP 下载靠下方超时)
# 按业务估算:几十个大 Excel 打包约 100–300MB,预留 200m;若单批更大可改 500m
client_max_body_size 200m;
# 大文件响应超时(库存 ZIP 下载关键项)
proxy_send_timeout 300s;
send_timeout 300s;
# 关键配置:关闭缓冲以支持 SSE 流式输出
proxy_buffering off;