AI Bot commited on
Commit
acde457
·
1 Parent(s): 0b14ba9

Increase max_workers to 200 for extreme concurrency

Browse files
Files changed (1) hide show
  1. src/crawler.py +2 -2
src/crawler.py CHANGED
@@ -342,8 +342,8 @@ class Crawler:
342
  logger.info(f"Starting crawl for domain: {base_domain}")
343
 
344
  # Use ThreadPoolExecutor for parallel crawling with high concurrency
345
- # Adjusted to 50 for much faster I/O bound concurrency
346
- with concurrent.futures.ThreadPoolExecutor(max_workers=50) as executor:
347
  # Map of future -> url
348
  future_to_url = {}
349
 
 
342
  logger.info(f"Starting crawl for domain: {base_domain}")
343
 
344
  # Use ThreadPoolExecutor for parallel crawling with high concurrency
345
+ # Pushed to 200 for extreme concurrency (WARNING: High risk of DDoS/Blocking from target)
346
+ with concurrent.futures.ThreadPoolExecutor(max_workers=200) as executor:
347
  # Map of future -> url
348
  future_to_url = {}
349