chore: AI并行workers 5→10
This commit is contained in:
4
main.py
4
main.py
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user