Skip to content

Commit

Permalink
💄 set MAX_WORKERS for China/India extract
Browse files Browse the repository at this point in the history
  • Loading branch information
paarriagadap committed Apr 16, 2024
1 parent 45d0f79 commit e7b8772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapshots/wb/2024-03-27/pip_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ def concurrent_function_china_india():
"""
This function makes concurrency work for China and India data.
"""
with ThreadPool(1) as pool:
with ThreadPool(MAX_WORKERS) as pool:
tasks = [
(povline, ppp_version, versions)
for ppp_version, povlines in POVLINES_DICT.items()
Expand Down

0 comments on commit e7b8772

Please sign in to comment.