mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
Merge pull request #686 from return42/lib_redis
Add redis DB and connector
This commit is contained in:
@@ -170,6 +170,9 @@ SCHEMA = {
|
||||
'method': SettingsValue(('POST', 'GET'), 'POST'),
|
||||
'default_http_headers': SettingsValue(dict, {}),
|
||||
},
|
||||
'redis': {
|
||||
'url': SettingsValue(str, 'unix:///usr/local/searxng-redis/run/redis.sock?db=0'),
|
||||
},
|
||||
'ui': {
|
||||
'static_path': SettingsDirectoryValue(str, os.path.join(searx_dir, 'static')),
|
||||
'templates_path': SettingsDirectoryValue(str, os.path.join(searx_dir, 'templates')),
|
||||
|
||||
Reference in New Issue
Block a user