手动扫描/发送入队由 schedule worker 执行,避免 Nginx 504;默认扫描 06:30、周五发送 18:30。 Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
860 B
Python
33 lines
860 B
Python
"""
|
|
backend/app/jobs/handlers/__init__.py
|
|
|
|
用途:导入各 handler 模块以触发 @register_handler 注册。
|
|
逻辑:Wave 2 起在 worker 启动前 import 本包。
|
|
"""
|
|
|
|
from app.jobs.handlers import ( # noqa: F401
|
|
contract_payment,
|
|
equipment_acceptance,
|
|
file_check_run,
|
|
in_transit_transfer_item,
|
|
in_transit_transfer_match,
|
|
in_transit_transfer_run,
|
|
kb_clean,
|
|
kb_dify_sync,
|
|
procurement_contract_review,
|
|
schedule_run,
|
|
shipping_document_layout,
|
|
freight_rpa_onhand_callback_process,
|
|
shipping_notice_parse,
|
|
shipping_notice_run,
|
|
shipping_order_extraction,
|
|
shipping_process_gate,
|
|
shipping_stp_auto_create,
|
|
shipping_line_auto_fulfill,
|
|
shipping_post_ot_wave_progress,
|
|
shipping_review_revalidate_progress,
|
|
shipping_pdf_automark,
|
|
wecom_directory_sync,
|
|
contract_payment,
|
|
)
|