Files
syops/backend/workers/README.md
T
hugo b352c281d5 feat(shipping-notice): 增强发货通知与订单抽取功能,支持多进程处理与紧急停止
- 移除不再使用的 SHIPPING_NOTICE_LAYOUT_PARSER_REVISION 配置
- 在环境配置中新增 SHIPPING_NOTICE_WORKER_CONCURRENCY 和 SHIPPING_NOTICE_JOB_RUNNING_TIMEOUT_SECONDS
- 实现发货通知 worker 进程,支持并发处理订单抽取任务
- 引入紧急停止功能,允许管理员在运行中控制订单解析状态
- 更新相关 API,支持读取与设置紧急停止状态
- 增强文档与代码注释,反映新的业务逻辑与功能要求
2026-07-31 18:00:49 +08:00

12 lines
528 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Worker 进程启动脚本目录
与根目录 `worker_*.py` 对应关系(与 KB 一致):
| 根目录(Compose 正式入口,含并发) | `workers/`(Supervisor 兼容薄封装,单进程) |
| --- | --- |
| `worker_kb.py` | `worker_kb.py` → `main(queues=['kb'])` |
| `worker_shipping.py` | `worker_shipping_notice.py` → `main(queues=['shipping'])` |
| — | `worker_scheduler.py` → `main(queues=['schedule'])` |
本地 / Compose 请用根目录脚本,以保留 `*_WORKER_CONCURRENCY` 多进程能力。