Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Commit

Permalink
Add timeout of 10 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Dec 30, 2020
1 parent 6c4b449 commit 4e73add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asreviewcontrib/covid19/datasets.py
Expand Up @@ -26,7 +26,7 @@ class Covid19DataGroup(BaseDataGroup):
def __init__(self):
base_url = "https://raw.githubusercontent.com/asreview/asreview-covid19/master/config" # noqa
meta_file = base_url + "/all.json"
with urlopen(meta_file) as f:
with urlopen(meta_file, timeout=10) as f:
meta_data = json.loads(f.read().decode())

datasets = []
Expand Down

0 comments on commit 4e73add

Please sign in to comment.