fix(connector): reduce ThreadPoolExecutor max_workers

This commit is contained in:
2026-04-16 16:37:27 +01:00
parent 0a396dd504
commit 7b9a17f395
2 changed files with 9 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ class BoardsAPI(BaseConnector):
post = self._parse_thread(html, post_url)
return post
with ThreadPoolExecutor(max_workers=10) as executor:
with ThreadPoolExecutor(max_workers=5) as executor:
futures = {executor.submit(fetch_and_parse, url): url for url in urls}
for i, future in enumerate(as_completed(futures)):