mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Turn statsd back on, but not for api main app, only for delivery
workers.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'],
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user