chore: AI并行workers 5→10

This commit is contained in:
2026-07-06 20:13:15 +08:00
parent d70b817fd4
commit ea6358019d

View File

@@ -65,8 +65,8 @@ def _email_poller(cfg):
def _ai_processor(cfg): def _ai_processor(cfg):
logger.info("AI 处理线程已启动 (并行 workers=5)") logger.info("AI 处理线程已启动 (并行 workers=10)")
max_workers = 5 max_workers = 10
with ThreadPoolExecutor(max_workers=max_workers) as executor: with ThreadPoolExecutor(max_workers=max_workers) as executor:
pending_futures = {} pending_futures = {}
while _running: while _running: