From 1b7e80db03faef848d0614493e2bf58366db29ea Mon Sep 17 00:00:00 2001 From: a01200356 Date: Sun, 27 Dec 2015 22:11:12 -0600 Subject: [PATCH] Undo minor change. --- searx/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/search.py b/searx/search.py index 85d88b9d3..655b7808a 100644 --- a/searx/search.py +++ b/searx/search.py @@ -98,7 +98,7 @@ def make_callback(engine_name, callback, params, result_container): with threading.RLock(): 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 if search_duration > timeout_limit: