Skip to content

Commit

Permalink
fix: generic
Browse files Browse the repository at this point in the history
  • Loading branch information
cullenwatson committed Jan 23, 2024
1 parent 2ff586f commit a7fd644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobspy/scrapers/glassdoor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def fetch_jobs_page(
jobs_data = res_json["data"]["jobListings"]["jobListings"]

jobs = []
with ThreadPoolExecutor(max_workers=30) as executor:
with ThreadPoolExecutor(max_workers=self.jobs_per_page) as executor:
future_to_job_data = {executor.submit(self.process_job, job): job for job in jobs_data}
for future in as_completed(future_to_job_data):
job_data = future_to_job_data[future]
Expand Down

0 comments on commit a7fd644

Please sign in to comment.