diff --git a/lms/envs/aws.py b/lms/envs/aws.py index 45104a17c4..475050f8cb 100644 --- a/lms/envs/aws.py +++ b/lms/envs/aws.py @@ -64,8 +64,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/bok_choy.py b/lms/envs/bok_choy.py index eec91a2cb0..aefdd1d3d3 100644 --- a/lms/envs/bok_choy.py +++ b/lms/envs/bok_choy.py @@ -55,8 +55,7 @@ MEDIA_URL = "/static/uploads/" ################################# CELERY ###################################### CELERY_ALWAYS_EAGER = True -CELERY_RESULT_BACKEND = 'cache' -CELERY_CACHE_BACKEND = 'memory' +CELERY_RESULT_BACKEND='djcelery.backends.cache:CacheBackend' ###################### Grade Downloads ###################### GRADES_DOWNLOAD = { diff --git a/lms/envs/test.py b/lms/envs/test.py index f612232c5f..318e200d66 100644 --- a/lms/envs/test.py +++ b/lms/envs/test.py @@ -299,8 +299,7 @@ GIT_REPO_DIR = TEST_ROOT / "course_repos" ################################# CELERY ###################################### CELERY_ALWAYS_EAGER = True -CELERY_RESULT_BACKEND = 'cache' -CELERY_CACHE_BACKEND = 'memory' +CELERY_RESULT_BACKEND='djcelery.backends.cache:CacheBackend' ######################### MARKETING SITE ###############################