diff --git a/app/config.py b/app/config.py index 0ada716b0..f55dfdd86 100644 --- a/app/config.py +++ b/app/config.py @@ -495,9 +495,6 @@ class Live(Config): CRONITOR_ENABLED = True - # TODO: revert when we're confident statsd won't break things - STATSD_ENABLED = False - class CloudFoundryConfig(Config): pass diff --git a/manifest.yml.j2 b/manifest.yml.j2 index 80c991309..5380dd64c 100644 --- a/manifest.yml.j2 +++ b/manifest.yml.j2 @@ -3,6 +3,9 @@ 'NOTIFY_APP_NAME': 'api', 'disk_quota': '2G', 'sqlalchemy_pool_size': 30, + 'additional_env_vars': { + 'STATSD_HOST': None + }, 'routes': { 'preview': ['api.notify.works'], 'staging': ['api.staging-notify.works'], diff --git a/tests/app/dao/notification_dao/test_notification_dao.py b/tests/app/dao/notification_dao/test_notification_dao.py index ae52d40d4..af51104ca 100644 --- a/tests/app/dao/notification_dao/test_notification_dao.py +++ b/tests/app/dao/notification_dao/test_notification_dao.py @@ -17,7 +17,6 @@ from app.dao.notifications_dao import ( dao_timeout_notifications, dao_update_notification, dao_update_notifications_by_reference, - delete_notifications_older_than_retention_by_type, get_notification_by_id, get_notification_for_job, get_notification_with_personalisation,