forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openedx#31438 from openedx/ashultz0/devstack-worke…
…r-clear-cache fix: update devstack with worker for cache and proper redis
- Loading branch information
Showing
2 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,8 @@ | |
|
||
# Require a separate celery worker | ||
CELERY_ALWAYS_EAGER = False | ||
CLEAR_REQUEST_CACHE_ON_TASK_COMPLETION = True | ||
BROKER_URL = 'redis://:[email protected]:6379/' | ||
|
||
# Disable transaction management because we are using a worker. Views | ||
# that request a task and wait for the result will deadlock otherwise. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
|
||
# Require a separate celery worker | ||
CELERY_ALWAYS_EAGER = False | ||
CLEAR_REQUEST_CACHE_ON_TASK_COMPLETION = True | ||
BROKER_URL = 'redis://:[email protected]:6379/' | ||
# Disable transaction management because we are using a worker. Views | ||
# that request a task and wait for the result will deadlock otherwise. | ||
|