diff options
author | Alexandre Flament <alex@al-f.net> | 2021-01-17 16:56:36 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-01-18 08:19:53 +0100 |
commit | 67a1aab0d5b8ab93b60be5da2390039f6c861505 (patch) | |
tree | 0199011d65c8783ad4b78abd2770290708ef6751 /searx/search | |
parent | d473407ec97107022ccbdd366559001b1ec162d8 (diff) | |
download | searxng-67a1aab0d5b8ab93b60be5da2390039f6c861505.tar.gz searxng-67a1aab0d5b8ab93b60be5da2390039f6c861505.zip |
[fix] /stats/checker : remove the timestamp field when the checker is disabled
Diffstat (limited to 'searx/search')
-rw-r--r-- | searx/search/checker/background.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search/checker/background.py b/searx/search/checker/background.py index e41bff5f5..22a51b8bb 100644 --- a/searx/search/checker/background.py +++ b/searx/search/checker/background.py @@ -98,7 +98,7 @@ def initialize(): signal.signal(signal.SIGUSR1, _signal_handler) # disabled by default - _set_result({'status': 'disabled'}) + _set_result({'status': 'disabled'}, include_timestamp=False) # special case when debug is activate if searx_debug and settings.get('checker', {}).get('off_when_debug', True): |