searxng/searx/plugins
Markus Heiser f74b7d8276 [fix] prevent multiple, parallel initializations of tables in the cache DB
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:12:19 +02:00
..
__init__.py [refactor] migrate plugins from "module" to class SXNGPlugin 2025-03-29 10:16:43 +01:00
_core.py [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
ahmia_filter.py [refactor] migrate plugins from "module" to class SXNGPlugin 2025-03-29 10:16:43 +01:00
calculator.py [fix] calculator plugin: subrocess is not closed on timeout (#4983) 2025-07-08 09:30:41 +02:00
hash_plugin.py [mod] Hash plugin: List the available hash functions in the description 2025-06-12 21:05:49 +02:00
hostnames.py [chore] docs: various grammatical fixes 2025-06-23 23:01:29 +02:00
oa_doi_rewrite.py [refactor] migrate plugins from "module" to class SXNGPlugin 2025-03-29 10:16:43 +01:00
self_info.py [refactor] migrate plugins from "module" to class SXNGPlugin 2025-03-29 10:16:43 +01:00
tor_check.py [enh] plugins: tor_check: Add more keywords (#4726) 2025-05-07 10:39:46 +02:00
tracker_url_remover.py [fix] prevent multiple, parallel initializations of tables in the cache DB 2025-07-09 17:12:19 +02:00
unit_converter.py [mod] weather results: add types, i18n/l10n, symbols & unit conversions 2025-05-31 20:34:59 +02:00