diff options
author | Alexandre Flament <alex@al-f.net> | 2020-11-26 15:12:11 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-12-03 10:22:48 +0100 |
commit | 1d0c368746e0ae28ea042edaf4c75ee3a2b738c2 (patch) | |
tree | 8a277759920f97677510e0e72cc0f16d84817f11 /searx/engines | |
parent | 6b5a57882242f24f867b6aa14b79b514720c6d83 (diff) | |
download | searxng-1d0c368746e0ae28ea042edaf4c75ee3a2b738c2.tar.gz searxng-1d0c368746e0ae28ea042edaf4c75ee3a2b738c2.zip |
[enh] record details exception per engine
add an new API /stats/errors
Diffstat (limited to 'searx/engines')
-rw-r--r-- | searx/engines/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index a78c4a8c3..ddd6a7feb 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -132,8 +132,9 @@ def load_engine(engine_data): lambda: engine._fetch_supported_languages(get(engine.supported_languages_url))) engine.stats = { + 'sent_search_count': 0, # sent search + 'search_count': 0, # succesful search 'result_count': 0, - 'search_count': 0, 'engine_time': 0, 'engine_time_count': 0, 'score_count': 0, |