diff --git a/cms/envs/production.py b/cms/envs/production.py index 6bc60b1d4ea5..64f148d9a625 100644 --- a/cms/envs/production.py +++ b/cms/envs/production.py @@ -100,7 +100,7 @@ def get_env_setting(setting): BROKER_CONNECTION_TIMEOUT = 1 # For the Result Store, use the django cache named 'celery' -CELERY_RESULT_BACKEND = 'django-cache' +CELERY_RESULT_BACKEND = ENV_TOKENS.get('CELERY_RESULT_BACKEND', 'django-cache') # When the broker is behind an ELB, use a heartbeat to refresh the # connection and to detect if it has been dropped. diff --git a/lms/envs/production.py b/lms/envs/production.py index 135ff904759a..0cdaf15faf58 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -114,7 +114,7 @@ def get_env_setting(setting): BROKER_CONNECTION_TIMEOUT = 1 # For the Result Store, use the django cache named 'celery' -CELERY_RESULT_BACKEND = 'django-cache' +CELERY_RESULT_BACKEND = ENV_TOKENS.get('CELERY_RESULT_BACKEND', 'django-cache') # When the broker is behind an ELB, use a heartbeat to refresh the # connection and to detect if it has been dropped.