catalog-agent/start_queue.py
2025-10-18 09:20:59 +08:00

18 lines
372 B
Python
Executable File

#!/usr/bin/env python3
"""
Task Queue启动脚本
"""
import sys
import os
from pathlib import Path
# 添加项目根目录到Python路径
project_root = Path(__file__).parent.parent
sys.path.insert(0, str(project_root))
from task_queue.consumer import main as consumer_main
if __name__ == "__main__":
print("启动文件处理队列系统...")
consumer_main()