diff --git a/cms/envs/devstack_with_worker.py b/cms/envs/devstack_with_worker.py index ea4ba857a24d..959cd4f436a8 100644 --- a/cms/envs/devstack_with_worker.py +++ b/cms/envs/devstack_with_worker.py @@ -18,6 +18,8 @@ # Require a separate celery worker CELERY_ALWAYS_EAGER = False +CLEAR_REQUEST_CACHE_ON_TASK_COMPLETION = True +BROKER_URL = 'redis://:password@edx.devstack.redis:6379/' # Disable transaction management because we are using a worker. Views # that request a task and wait for the result will deadlock otherwise. diff --git a/lms/envs/devstack_with_worker.py b/lms/envs/devstack_with_worker.py index 0f8da07e7809..84d076445c5b 100644 --- a/lms/envs/devstack_with_worker.py +++ b/lms/envs/devstack_with_worker.py @@ -19,6 +19,7 @@ # Require a separate celery worker CELERY_ALWAYS_EAGER = False +CLEAR_REQUEST_CACHE_ON_TASK_COMPLETION = True BROKER_URL = 'redis://:password@edx.devstack.redis:6379/' # Disable transaction management because we are using a worker. Views # that request a task and wait for the result will deadlock otherwise.