mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
Undo minor change.
This commit is contained in:
parent
84cd09ac34
commit
1b7e80db03
@ -98,7 +98,7 @@ def make_callback(engine_name, callback, params, result_container):
|
|||||||
with threading.RLock():
|
with threading.RLock():
|
||||||
engines[engine_name].stats['page_load_time'] += search_duration
|
engines[engine_name].stats['page_load_time'] += search_duration
|
||||||
|
|
||||||
timeout_overhead = 0.5 # seconds
|
timeout_overhead = 0.2 # seconds
|
||||||
timeout_limit = engines[engine_name].timeout + timeout_overhead
|
timeout_limit = engines[engine_name].timeout + timeout_overhead
|
||||||
|
|
||||||
if search_duration > timeout_limit:
|
if search_duration > timeout_limit:
|
||||||
|
Loading…
Reference in New Issue
Block a user