Skip to content

Commit

Permalink
Fix small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Qubad786 committed Jul 31, 2024
1 parent daa05c2 commit a586407
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion catalog_reader/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ def retrieve_trains_data(
total_apps = len(apps)
with concurrent.futures.ProcessPoolExecutor(max_workers=(5 if total_apps > 10 else 2)) as exc:
for index, result in enumerate(zip(apps, exc.map(
functools.partial(app_details, apps, catalog_location, questions_context),
functools.partial(
app_details, apps, catalog_location, questions_context, normalize_questions=normalize_questions
),
apps, chunksize=(10 if total_apps > 10 else 5)
))):
app_key = result[0]
Expand Down

0 comments on commit a586407

Please sign in to comment.