diff options
author | Alexandre Flament <alex@al-f.net> | 2022-07-15 18:38:32 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2022-11-05 12:04:50 +0100 |
commit | fe419e355bf1527c51e3aee98495d08b89510320 (patch) | |
tree | 0ed03d5e3d77e68ac5a5834e5890f5f27fe29fe7 /searx/settings_defaults.py | |
parent | d764d94a70b0b10291105a867227975d59af5675 (diff) | |
download | searxng-fe419e355bf1527c51e3aee98495d08b89510320.tar.gz searxng-fe419e355bf1527c51e3aee98495d08b89510320.zip |
The checker requires Redis
Remove the abstraction in searx.shared.SharedDict.
Implement a basic and dedicated scheduler for the checker using a Redis script.
Diffstat (limited to 'searx/settings_defaults.py')
-rw-r--r-- | searx/settings_defaults.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py index 6575b0b0c..a4f6ce607 100644 --- a/searx/settings_defaults.py +++ b/searx/settings_defaults.py @@ -225,7 +225,8 @@ SCHEMA = { 'plugins': SettingsValue(list, []), 'enabled_plugins': SettingsValue((None, list), None), 'checker': { - 'off_when_debug': SettingsValue(bool, True), + 'off_when_debug': SettingsValue(bool, True, None), + 'scheduling': SettingsValue((None, dict), None, None), }, 'categories_as_tabs': SettingsValue(dict, CATEGORIES_AS_TABS), 'engines': SettingsValue(list, []), |