fix: update devstack with worker for cache and proper redis
https://github.com/openedx/edx-platform/pull/31261 fixed celery cache behavior when not running a worker and made sure production would keep the old cache behavior, but missed these secret alternate settings files, bring them up to date. Also fixes the cms file to have the actual broker URL.
This commit is contained in:
@@ -18,6 +18,8 @@ from cms.envs.devstack import *
|
||||
|
||||
# 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.
|
||||
|
||||
@@ -19,6 +19,7 @@ from lms.envs.devstack import *
|
||||
|
||||
# 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.
|
||||
|
||||
Reference in New Issue
Block a user