Skip to content

Commit

Permalink
more max_workers for concurrent.futures
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1kulya committed Jan 22, 2025
1 parent 9b3164a commit 4785a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def parse_feeds(self, channel_ids):
list: A list of parsed feed data for each channel ID.
"""
with self.console.status(" " * 9 + "[b green]Parsing channels..."):
with concurrent.futures.ThreadPoolExecutor(max_workers=8) as executor:
with concurrent.futures.ThreadPoolExecutor(max_workers=32) as executor:
results = list(executor.map(self.parse_feed, channel_ids))
self._log(f"[b green]Parsed successfully.")
return results
Expand Down

0 comments on commit 4785a75

Please sign in to comment.