diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-01-05 18:53:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 18:53:49 +0000 |
commit | 0ebad8220fe574c690d113d7e9d6a85f5ac16616 (patch) | |
tree | c3fdee2297a265e4bebc0a85d54fe77fc5c8ed41 /searx/settings_defaults.py | |
parent | 160f3e022e1774f3a25a9f5e0cf36ec34976cdad (diff) | |
parent | 2134703b4bb9847d0efeac3b28ceefb7d1f26271 (diff) | |
download | searxng-0ebad8220fe574c690d113d7e9d6a85f5ac16616.tar.gz searxng-0ebad8220fe574c690d113d7e9d6a85f5ac16616.zip |
Merge pull request #688 from dalf/settings_enable_stats
[enh] settings.yml: implement general.enable_metrics
Diffstat (limited to 'searx/settings_defaults.py')
-rw-r--r-- | searx/settings_defaults.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py index 853d63161..bb91ed855 100644 --- a/searx/settings_defaults.py +++ b/searx/settings_defaults.py @@ -142,6 +142,7 @@ SCHEMA = { 'debug': SettingsValue(bool, False, 'SEARXNG_DEBUG'), 'instance_name': SettingsValue(str, 'SearXNG'), 'contact_url': SettingsValue((None, False, str), None), + 'enable_metrics': SettingsValue(bool, True), }, 'brand': { 'issue_url': SettingsValue(str, 'https://github.com/searxng/searxng/issues'), |