use 100 threads to read mails
This commit is contained in:
@@ -363,7 +363,7 @@ def find_links_to_validate_from_mail_list(mail_list: List[MailAddress], logger)
|
||||
mails_messages = []
|
||||
|
||||
# 使用线程池处理邮件
|
||||
with ThreadPoolExecutor(max_workers=20) as executor:
|
||||
with ThreadPoolExecutor(max_workers=100) as executor:
|
||||
futures = []
|
||||
|
||||
for mail in mail_list:
|
||||
|
||||
Reference in New Issue
Block a user