mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-29 04:09:36 -04:00
Removed the performance testing statsd calls as they are no longer
needed for monitoring the performance of the v2 endpoints. They were put in as a temporary measure whilst sustained performance testing was taking place.
This commit is contained in:
@@ -46,7 +46,6 @@ def check_placeholders(template_object):
|
||||
raise BadRequestError(fields=[{'template': message}], message=message)
|
||||
|
||||
|
||||
@statsd(namespace="performance-testing")
|
||||
def persist_notification(
|
||||
*,
|
||||
template_id,
|
||||
@@ -116,7 +115,6 @@ def persist_notification(
|
||||
return notification
|
||||
|
||||
|
||||
@statsd(namespace="performance-testing")
|
||||
def send_notification_to_queue(notification, research_mode, queue=None):
|
||||
if research_mode or notification.key_type == KEY_TYPE_TEST:
|
||||
queue = QueueNames.RESEARCH_MODE
|
||||
|
||||
Reference in New Issue
Block a user