The yearly usage section on the dashboard page takes too log as a result services with large yearly stats are timing out.

As a short term fix we have taken the yearly stats off the dashboard.

There is a plan to create permanent statistic tables to warehouse the data.
This commit is contained in:
Rebecca Law
2017-07-03 11:35:55 +01:00
parent 9bdc1bebfe
commit 1b1839ad30
3 changed files with 2 additions and 72 deletions

View File

@@ -53,15 +53,6 @@
) }}
{% endif %}
{% if current_user.has_permissions(['manage_settings'], admin_override=True) %}
<h2 class='heading-medium'>This year</h2>
{{ ajax_block(partials, updates_url, 'usage') }}
{{ show_more(
url_for(".usage", service_id=current_service['id']),
'See usage breakdown'
) }}
{% endif %}
</div>
{% endblock %}