Increase timeout for talking to wikibase.
This commit is contained in:
parent
52ecfedbfc
commit
5def7e80ad
|
@ -18,7 +18,7 @@ def api_call(params, api_url=wikidata_url):
|
||||||
**params,
|
**params,
|
||||||
}
|
}
|
||||||
|
|
||||||
r = requests.get(api_url, params=call_params, timeout=2)
|
r = requests.get(api_url, params=call_params, timeout=5)
|
||||||
return r
|
return r
|
||||||
|
|
||||||
def get_entity(qid):
|
def get_entity(qid):
|
||||||
|
|
Loading…
Reference in a new issue