Merge pull request #3383 from alphagov/drop-ajax-notifications-page

Drop frequency of AJAX updates on notifications page
This commit is contained in:
Chris Hill-Scott
2020-03-23 13:46:40 +00:00
committed by GitHub

View File

@@ -31,7 +31,8 @@
{{ ajax_block(
partials,
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status),
'counts'
'counts',
interval=20
) }}
{% call form_wrapper(
@@ -82,7 +83,8 @@
partials,
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status, page=page),
'notifications',
form='search-form'
form='search-form',
interval=20
) }}
{% endblock %}