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
+4 -2
View File
@@ -31,7 +31,8 @@
{{ ajax_block( {{ ajax_block(
partials, partials,
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status), url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status),
'counts' 'counts',
interval=20
) }} ) }}
{% call form_wrapper( {% call form_wrapper(
@@ -82,7 +83,8 @@
partials, partials,
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status, page=page), url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status, page=page),
'notifications', 'notifications',
form='search-form' form='search-form',
interval=20
) }} ) }}
{% endblock %} {% endblock %}