forked from Ponysearch/Ponysearch
[fix] /stats/checker : remove the timestamp field when the checker is disabled
This commit is contained in:
parent
d473407ec9
commit
67a1aab0d5
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def initialize():
|
||||||
signal.signal(signal.SIGUSR1, _signal_handler)
|
signal.signal(signal.SIGUSR1, _signal_handler)
|
||||||
|
|
||||||
# disabled by default
|
# disabled by default
|
||||||
_set_result({'status': 'disabled'})
|
_set_result({'status': 'disabled'}, include_timestamp=False)
|
||||||
|
|
||||||
# special case when debug is activate
|
# special case when debug is activate
|
||||||
if searx_debug and settings.get('checker', {}).get('off_when_debug', True):
|
if searx_debug and settings.get('checker', {}).get('off_when_debug', True):
|
||||||
|
|
Loading…
Reference in a new issue