diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-01-11 19:55:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 19:55:14 +0100 |
commit | 977e9a433085124e17f2f7f26afabbeb71db9470 (patch) | |
tree | 286c046cdd9eaa069e49c81b6f7f7bb545746b65 /searx/settings_defaults.py | |
parent | f4004133b605cea8225c720a7f4c593d4c20d13e (diff) | |
parent | dca83944b588be3ec9e49486daea6cf15ef58f78 (diff) | |
download | searxng-977e9a433085124e17f2f7f26afabbeb71db9470.tar.gz searxng-977e9a433085124e17f2f7f26afabbeb71db9470.zip |
Merge pull request #686 from return42/lib_redis
Add redis DB and connector
Diffstat (limited to 'searx/settings_defaults.py')
-rw-r--r-- | searx/settings_defaults.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py index e84b442fe..ff556e3bb 100644 --- a/searx/settings_defaults.py +++ b/searx/settings_defaults.py @@ -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')), |