mirror of
https://github.com/searxng/searxng.git
synced 2025-07-15 09:19:20 +02:00
[mod] change settings file structure according to #314
This commit is contained in:
parent
d0830d4edf
commit
1fcf066a81
7 changed files with 46 additions and 34 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue