Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
3b2a750d
Commit
3b2a750d
authored
May 04, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the cache backend for the new version of celery and djcelery.
parent
95c240d5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
lms/envs/aws.py
+1
-2
lms/envs/bok_choy.py
+1
-2
lms/envs/test.py
+1
-2
No files found.
lms/envs/aws.py
View file @
3b2a750d
...
@@ -64,8 +64,7 @@ BROKER_POOL_LIMIT = 0
...
@@ -64,8 +64,7 @@ BROKER_POOL_LIMIT = 0
BROKER_CONNECTION_TIMEOUT
=
1
BROKER_CONNECTION_TIMEOUT
=
1
# For the Result Store, use the django cache named 'celery'
# For the Result Store, use the django cache named 'celery'
CELERY_RESULT_BACKEND
=
'cache'
CELERY_RESULT_BACKEND
=
'djcelery.backends.cache:CacheBackend'
CELERY_CACHE_BACKEND
=
'celery'
# When the broker is behind an ELB, use a heartbeat to refresh the
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
# connection and to detect if it has been dropped.
...
...
lms/envs/bok_choy.py
View file @
3b2a750d
...
@@ -55,8 +55,7 @@ MEDIA_URL = "/static/uploads/"
...
@@ -55,8 +55,7 @@ MEDIA_URL = "/static/uploads/"
################################# CELERY ######################################
################################# CELERY ######################################
CELERY_ALWAYS_EAGER
=
True
CELERY_ALWAYS_EAGER
=
True
CELERY_RESULT_BACKEND
=
'cache'
CELERY_RESULT_BACKEND
=
'djcelery.backends.cache:CacheBackend'
CELERY_CACHE_BACKEND
=
'memory'
###################### Grade Downloads ######################
###################### Grade Downloads ######################
GRADES_DOWNLOAD
=
{
GRADES_DOWNLOAD
=
{
...
...
lms/envs/test.py
View file @
3b2a750d
...
@@ -299,8 +299,7 @@ GIT_REPO_DIR = TEST_ROOT / "course_repos"
...
@@ -299,8 +299,7 @@ GIT_REPO_DIR = TEST_ROOT / "course_repos"
################################# CELERY ######################################
################################# CELERY ######################################
CELERY_ALWAYS_EAGER
=
True
CELERY_ALWAYS_EAGER
=
True
CELERY_RESULT_BACKEND
=
'cache'
CELERY_RESULT_BACKEND
=
'djcelery.backends.cache:CacheBackend'
CELERY_CACHE_BACKEND
=
'memory'
######################### MARKETING SITE ###############################
######################### MARKETING SITE ###############################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment