summaryrefslogtreecommitdiff
path: root/searx/settings_defaults.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2022-01-11 19:55:14 +0100
committerGitHub <noreply@github.com>2022-01-11 19:55:14 +0100
commit977e9a433085124e17f2f7f26afabbeb71db9470 (patch)
tree286c046cdd9eaa069e49c81b6f7f7bb545746b65 /searx/settings_defaults.py
parentf4004133b605cea8225c720a7f4c593d4c20d13e (diff)
parentdca83944b588be3ec9e49486daea6cf15ef58f78 (diff)
downloadsearxng-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.py3
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')),