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.

add timeout errors in search_multiple_requests

Noémi Ványi80331cc8e622
diff --git a/searx/search.py b/searx/search.py
index 3ea349ade..22aea3661 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -179,6 +179,7 @@ def search_multiple_requests(requests, result_container, start_time, timeout_lim
remaining_time = max(0.0, timeout_limit - (time() - start_time))
th.join(remaining_time)
if th.isAlive():
+ result_container.add_unresponsive_engine((th._engine_name, gettext('timeout')))
logger.warning('engine timeout: {0}'.format(th._engine_name))