mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 11:21:00 +00:00
Undo minor change.
This commit is contained in:
parent
84cd09ac34
commit
1b7e80db03
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue