searxng/searx/data
Markus Heiser 2fe8540903
[fix] prevent multiple, parallel initializations of tables in the cache DB (#4991)
Depending on the respective runtime behavior, it could happen that the initial
loading of the DB tables in the cache was performed multiple times and in
parallel. The concurrent accesses then led to the `sqlite3.OperationalError:
database is locked` exception as in #4951.

Since this problem depends significantly on the runtimes (e.g., how long it
takes to retrieve the content for a table), this error could not be observed in
all installations.

Closes: https://github.com/searxng/searxng/issues/4951

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-07-09 17:32:10 +02:00
..
__init__.py [mod] data: implement a simple tracker URL (SQL) database 2025-06-23 22:12:18 +02:00
ahmia_blacklist.txt [data] update searx.data - update_ahmia_blacklist.py (#4957) 2025-06-29 08:15:38 +02:00
core.py [mod] data: implement a simple currencies (SQL) database (#4836) 2025-05-25 10:40:57 +02:00
currencies.json [data] update searx.data - update_currencies.py (#4958) 2025-06-29 08:15:05 +02:00
currencies.py [fix] prevent multiple, parallel initializations of tables in the cache DB (#4991) 2025-07-09 17:32:10 +02:00
engine_descriptions.json [data] update searx.data - update_engine_descriptions.py (#4960) 2025-06-29 08:14:18 +02:00
engine_traits.json [data] update searx.data - update_engine_traits.py (#4959) 2025-06-29 08:14:42 +02:00
external_bangs.json [data] update searx.data - update_external_bangs.py (#4955) 2025-06-29 08:17:06 +02:00
external_urls.json [mod] add external_urls.json and wikidata_units.json 2020-10-28 08:09:25 +01:00
lid.176.ftz [mod] new plugin: Autodetect search language 2022-12-10 13:11:47 +01:00
locales.json [l10n] update translations from Weblate 2025-01-10 08:13:22 +01:00
osm_keys_tags.json [data] update searx.data - make data.all 2025-01-13 08:02:01 +01:00
tracker_patterns.py [fix] prevent multiple, parallel initializations of tables in the cache DB (#4991) 2025-07-09 17:32:10 +02:00
useragents.json [data] update searx.data - update_firefox_version.py (#4954) 2025-06-29 08:17:46 +02:00
wikidata_units.json [data] update searx.data - update_wikidata_units.py (#4956) 2025-06-29 08:16:07 +02:00