summaryrefslogtreecommitdiff
path: root/searxng_extra/update/update_currencies.py
diff options
context:
space:
mode:
Diffstat (limited to 'searxng_extra/update/update_currencies.py')
-rwxr-xr-xsearxng_extra/update/update_currencies.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searxng_extra/update/update_currencies.py b/searxng_extra/update/update_currencies.py
index 3cadcfe86..903bdcb44 100755
--- a/searxng_extra/update/update_currencies.py
+++ b/searxng_extra/update/update_currencies.py
@@ -92,8 +92,7 @@ def add_currency_label(db, label, iso4217, language):
def wikidata_request_result_iterator(request):
- wikidata.timeout = 30 # github CI has longer timeouts
- result = wikidata.send_wikidata_query(request.replace('%LANGUAGES_SPARQL%', LANGUAGES_SPARQL))
+ result = wikidata.send_wikidata_query(request.replace('%LANGUAGES_SPARQL%', LANGUAGES_SPARQL), timeout=20)
if result is not None:
yield from result['results']['bindings']