fix(config): 降低图片下载线程数从5到2

(cherry picked from commit b4a6e25aaf)
This commit is contained in:
SlyAimer 2025-04-03 09:49:05 +08:00
parent 779530a442
commit ece366ac3c
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ from src.clover_image.delete_file import delete_folder,delete_file
from src.clover_email.send_email import send_email_by_google,send_email_by_qq
# 创建线程池
jm_executor = ThreadPoolExecutor(max_workers=5)
jm_executor = ThreadPoolExecutor(max_workers=2)
jm_executor.submit(lambda: None).result()
async def download_jm(album_id: str| None,receiver_email: str| None):

View file

@ -9,4 +9,4 @@ download:
decode: true # JM的原图是混淆过的要不要还原默认为true
suffix: .jpg # 把图片都转为.jpg格式默认为null表示不转换。
threading:
photo: 5
photo: 1