[fix] wikidata: increase wikidata queries timeout

The big queries for initializing and updating the currencies take longer than
the default of the wikidata engine, which is only 3sec.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2025-03-01 10:49:11 +01:00 committed by Markus Heiser
parent 30a820437d
commit 1d16b94279
5 changed files with 38 additions and 18 deletions

View file

@ -8,6 +8,7 @@ data.:
traits : update searx/data/engine_traits.json & searx/sxng_locales.py
useragents: update searx/data/useragents.json with the most recent versions of Firefox
locales : update searx/data/locales.json from babel
currencies: update searx/data/currencies.json from wikidata
EOF
}
@ -59,3 +60,12 @@ data.locales() {
)
dump_return $?
}
data.currencies(){
( set -e
pyenv.activate
build_msg DATA "update searx/data/currencies.json"
python searxng_extra/update/update_currencies.py
)
dump_return $?
}