mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
Merge pull request #1743 from dalf/update_about_metrics
Update about the metrics
This commit is contained in:
@@ -145,7 +145,7 @@ result_templates = get_result_templates(templates_path)
|
||||
|
||||
STATS_SORT_PARAMETERS = {
|
||||
'name': (False, 'name', ''),
|
||||
'score': (True, 'score', 0),
|
||||
'score': (True, 'score_per_result', 0),
|
||||
'result_count': (True, 'result_count', 0),
|
||||
'time': (False, 'total', 0),
|
||||
'reliability': (False, 'reliability', 100),
|
||||
@@ -450,6 +450,7 @@ def render(template_name: str, **kwargs):
|
||||
kwargs['instance_name'] = get_setting('general.instance_name')
|
||||
kwargs['searx_version'] = VERSION_STRING
|
||||
kwargs['searx_git_url'] = GIT_URL
|
||||
kwargs['enable_metrics'] = get_setting('general.enable_metrics')
|
||||
kwargs['get_setting'] = get_setting
|
||||
kwargs['get_pretty_url'] = get_pretty_url
|
||||
|
||||
|
||||
Reference in New Issue
Block a user