Skip to content

Commit

Permalink
Change default concurrent threads to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewcarbone committed Aug 4, 2023
1 parent 2946606 commit ec825d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightshow/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _fetch_from_MP(job):


def _from_mpids_list(
mpids, api_key, metadata_keys, verbose=True, concurrent_threads=20
mpids, api_key, metadata_keys, verbose=True, concurrent_threads=2
):
"""Makes one large API call to the Materials Project database and pulls the
relevant structural files given a list of Materials Project ID's (mpids).
Expand Down

0 comments on commit ec825d0

Please sign in to comment.