mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Merge pull request #4219 from alphagov/enable-redis
remove redis_enabled flag
This commit is contained in:
@@ -68,7 +68,7 @@ class Config(object):
|
||||
ANTIVIRUS_ENABLED = True
|
||||
|
||||
REDIS_URL = os.environ.get('REDIS_URL')
|
||||
REDIS_ENABLED = os.environ.get('REDIS_ENABLED') == '1'
|
||||
REDIS_ENABLED = True
|
||||
|
||||
ASSET_DOMAIN = ''
|
||||
ASSET_PATH = '/static/'
|
||||
@@ -116,6 +116,7 @@ class Development(Config):
|
||||
ASSET_PATH = '/static/'
|
||||
|
||||
REDIS_URL = 'redis://localhost:6379/0'
|
||||
REDIS_ENABLED = os.environ.get('REDIS_ENABLED') == '1'
|
||||
|
||||
|
||||
class Test(Development):
|
||||
|
||||
@@ -62,6 +62,4 @@ applications:
|
||||
TEMPLATE_PREVIEW_API_HOST: '{{ TEMPLATE_PREVIEW_API_HOST }}'
|
||||
TEMPLATE_PREVIEW_API_KEY: '{{ TEMPLATE_PREVIEW_API_KEY }}'
|
||||
|
||||
REDIS_ENABLED: '{{ REDIS_ENABLED }}'
|
||||
|
||||
NOTIFY_BILLING_DETAILS: '{{ NOTIFY_BILLING_DETAILS | tojson }}'
|
||||
|
||||
Reference in New Issue
Block a user