mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 02:22:22 +02:00
[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:
parent
30a820437d
commit
1d16b94279
5 changed files with 38 additions and 18 deletions
|
@ -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 $?
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue