Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[mod] run bootload of the CURRENCIES cache on demand

Markus Heiser4445f26f5a58
diff --git a/searx/search/processors/online_currency.py b/searx/search/processors/online_currency.py
index c79374f51..ed4191fd0 100644
--- a/searx/search/processors/online_currency.py
+++ b/searx/search/processors/online_currency.py
@@ -52,10 +52,6 @@ class OnlineCurrencyProcessor(OnlineProcessor):
engine_type: str = "online_currency"
- def initialize(self, callback: t.Callable[["EngineProcessor", bool], bool]):
- CURRENCIES.init()
- super().initialize(callback)
-
def get_params(self, search_query: "SearchQuery", engine_category: str) -> OnlineCurrenciesParams | None:
"""Returns a dictionary with the :ref:`request params <engine request
online_currency>` (:py:obj:`OnlineCurrenciesParams`). ``None`` is