diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index 4fc39266e..e5b32824b 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -123,7 +123,7 @@ def search(query, request, selected_categories): ,headers = request_params['headers'] ,hooks = dict(response=callback) ,cookies = request_params['cookies'] - ,timeout = settings.timeout + ,timeout = settings.request_timeout ) else: req = grequests.post(request_params['url'] @@ -131,7 +131,7 @@ def search(query, request, selected_categories): ,headers = request_params['headers'] ,hooks = dict(response=callback) ,cookies = request_params['cookies'] - ,timeout = settings.timeout + ,timeout = settings.request_timeout ) requests.append(req) grequests.map(requests)