Stats: request count is a percentage

This commit is contained in:
Alexandre Flament 2024-01-27 11:41:57 +00:00 committed by Emilien Devos
parent ae1e73e871
commit 3c37cf4e8d
2 changed files with 10 additions and 0 deletions

View file

@ -89,6 +89,8 @@ class Search:
# max of all selected engine timeout
default_timeout = 0
counter_inc('search', 'count', 'sent')
# start search-request for all selected engines
for engineref in self.search_query.engineref_list:
processor = PROCESSORS[engineref.name]