Increase timeout for talking to wikibase.

This commit is contained in:
Edward Betts 2019-10-07 10:37:47 +01:00
parent 52ecfedbfc
commit 5def7e80ad

View file

@ -18,7 +18,7 @@ def api_call(params, api_url=wikidata_url):
**params,
}
r = requests.get(api_url, params=call_params, timeout=2)
r = requests.get(api_url, params=call_params, timeout=5)
return r
def get_entity(qid):