mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
Ensure we count the tasks as well as the API calls.
After we have written to the database and placed it on a deliver queue we count it in the cache against the service. This is the equivalent of doing it at the end of the API call.
This commit is contained in:
@@ -132,7 +132,7 @@ class Config(object):
|
||||
STATSD_HOST = "statsd.hostedgraphite.com"
|
||||
STATSD_PORT = 8125
|
||||
|
||||
REDIS_ENABLED = True
|
||||
REDIS_ENABLED = False
|
||||
REDIS_URL = "redis://localhost:6379/0"
|
||||
|
||||
SENDING_NOTIFICATIONS_TIMEOUT_PERIOD = 259200
|
||||
@@ -166,7 +166,6 @@ class Development(Config):
|
||||
|
||||
|
||||
class Test(Config):
|
||||
REDIS_ENABLED = False
|
||||
NOTIFY_EMAIL_DOMAIN = 'test.notify.com'
|
||||
FROM_NUMBER = 'testing'
|
||||
NOTIFY_ENVIRONMENT = 'test'
|
||||
|
||||
Reference in New Issue
Block a user