mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[mod] change settings file structure according to #314
This commit is contained in:
@@ -29,7 +29,7 @@ from searx.poolrequests import get as http_get
|
||||
|
||||
def get(*args, **kwargs):
|
||||
if 'timeout' not in kwargs:
|
||||
kwargs['timeout'] = settings['server']['request_timeout']
|
||||
kwargs['timeout'] = settings['outgoing']['request_timeout']
|
||||
|
||||
return http_get(*args, **kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user