diff --git a/cms/envs/aws.py b/cms/envs/aws.py index ea9b758003..bd9c8d32ee 100644 --- a/cms/envs/aws.py +++ b/cms/envs/aws.py @@ -60,8 +60,7 @@ BROKER_POOL_LIMIT = 0 BROKER_CONNECTION_TIMEOUT = 1 # For the Result Store, use the django cache named 'celery' -CELERY_RESULT_BACKEND = 'cache' -CELERY_CACHE_BACKEND = 'celery' +CELERY_RESULT_BACKEND='djcelery.backends.cache:CacheBackend' # 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/cms/envs/test.py b/cms/envs/test.py index 14d0d15b2c..2ed798dcb9 100644 --- a/cms/envs/test.py +++ b/cms/envs/test.py @@ -187,9 +187,7 @@ simplefilter('ignore') ################################# CELERY ###################################### CELERY_ALWAYS_EAGER = True -CELERY_RESULT_BACKEND = 'cache' -CELERY_CACHE_BACKEND = 'memory' - +CELERY_RESULT_BACKEND='djcelery.backends.cache:CacheBackend' ########################### Server Ports ################################### diff --git a/cms/envs/yaml_config.py b/cms/envs/yaml_config.py index 4fa64674bc..3cfed64391 100644 --- a/cms/envs/yaml_config.py +++ b/cms/envs/yaml_config.py @@ -75,8 +75,7 @@ BROKER_POOL_LIMIT = 0 BROKER_CONNECTION_TIMEOUT = 1 # For the Result Store, use the django cache named 'celery' -CELERY_RESULT_BACKEND = 'cache' -CELERY_CACHE_BACKEND = 'celery' +CELERY_RESULT_BACKEND='djcelery.backends.cache:CacheBackend' # 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/yaml_config.py b/lms/envs/yaml_config.py index 65a3a8090d..90aa650c8d 100644 --- a/lms/envs/yaml_config.py +++ b/lms/envs/yaml_config.py @@ -112,8 +112,7 @@ BROKER_POOL_LIMIT = 0 BROKER_CONNECTION_TIMEOUT = 1 # For the Result Store, use the django cache named 'celery' -CELERY_RESULT_BACKEND = 'cache' -CELERY_CACHE_BACKEND = 'celery' +CELERY_RESULT_BACKEND='djcelery.backends.cache:CacheBackend' # When the broker is behind an ELB, use a heartbeat to refresh the # connection and to detect if it has been dropped.