Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
OpenEdx
configuration
Commits
a0132129
Unverified
Commit
a0132129
authored
7 years ago
by
Joseph Mulloy
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4189 from edx/jdmulloy/celery_redis
OPS-2438 Add support for redis as Celery backend
parents
7a7d5070
e152f377
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
CHANGELOG.md
+7
-0
playbooks/roles/edxapp/defaults/main.yml
+4
-2
No files found.
CHANGELOG.md
View file @
a0132129
-
Role: edxapp
-
Role: edxapp
-
Added
`EDXAPP_CELERY_BROKER_TRANSPORT`
and renamed
`EDXAPP_RABBIT_HOSTNAME`
to
`EDXAPP_CELERY_BROKER_HOSTNAME`
. This is to support non-amqp brokers,
specifically redis. If
`EDXAPP_CELERY_BROKER_HOSTNAME`
is unset it will use
the value of
`EDXAPP_RABBIT_HOSTNAME`
, however it is recommended to update
your configuration to set
`EDXAPP_CELERY_BROKER_TRANSPORT`
explicitly.
-
Role: edxapp
-
Added
`EDXAPP_LMS_SPLIT_DOC_STORE_READ_PREFERENCE`
with a default value of
-
Added
`EDXAPP_LMS_SPLIT_DOC_STORE_READ_PREFERENCE`
with a default value of
SECONDARY_PREFERED to distribute read workload across the replica set.
SECONDARY_PREFERED to distribute read workload across the replica set.
-
Changed
`EDXAPP_MONGO_HOSTS`
to be a comma seperated string, which is
-
Changed
`EDXAPP_MONGO_HOSTS`
to be a comma seperated string, which is
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/edxapp/defaults/main.yml
View file @
a0132129
...
@@ -152,6 +152,8 @@ EDXAPP_ZENDESK_CUSTOM_FIELDS: {}
...
@@ -152,6 +152,8 @@ EDXAPP_ZENDESK_CUSTOM_FIELDS: {}
EDXAPP_ZENDESK_OAUTH_ACCESS_TOKEN
:
"
"
EDXAPP_ZENDESK_OAUTH_ACCESS_TOKEN
:
"
"
EDXAPP_CELERY_USER
:
'
celery'
EDXAPP_CELERY_USER
:
'
celery'
EDXAPP_CELERY_PASSWORD
:
'
celery'
EDXAPP_CELERY_PASSWORD
:
'
celery'
EDXAPP_CELERY_BROKER_HOSTNAME
:
"
{{
EDXAPP_RABBIT_HOSTNAME
}}"
EDXAPP_CELERY_BROKER_TRANSPORT
:
'
amqp'
EDXAPP_CELERY_BROKER_VHOST
:
"
"
EDXAPP_CELERY_BROKER_VHOST
:
"
"
EDXAPP_CELERY_BROKER_USE_SSL
:
false
EDXAPP_CELERY_BROKER_USE_SSL
:
false
EDXAPP_CELERY_EVENT_QUEUE_TTL
:
"
None"
EDXAPP_CELERY_EVENT_QUEUE_TTL
:
"
None"
...
@@ -1094,8 +1096,8 @@ generic_env_config: &edxapp_generic_env
...
@@ -1094,8 +1096,8 @@ generic_env_config: &edxapp_generic_env
LOCATION
:
"
{{
EDXAPP_CACHE_COURSE_STRUCTURE_MEMCACHE
}}"
LOCATION
:
"
{{
EDXAPP_CACHE_COURSE_STRUCTURE_MEMCACHE
}}"
# Default to two hours
# Default to two hours
TIMEOUT
:
"
7200"
TIMEOUT
:
"
7200"
CELERY_BROKER_TRANSPORT
:
'
amqp'
CELERY_BROKER_TRANSPORT
:
"
{{
EDXAPP_CELERY_BROKER_TRANSPORT
}}"
CELERY_BROKER_HOSTNAME
:
"
{{
EDXAPP_
RABBIT
_HOSTNAME
}}"
CELERY_BROKER_HOSTNAME
:
"
{{
EDXAPP_
CELERY_BROKER
_HOSTNAME
}}"
COMMENTS_SERVICE_URL
:
"
{{
EDXAPP_COMMENTS_SERVICE_URL
}}"
COMMENTS_SERVICE_URL
:
"
{{
EDXAPP_COMMENTS_SERVICE_URL
}}"
LOGGING_ENV
:
"
{{
EDXAPP_LOGGING_ENV
}}"
LOGGING_ENV
:
"
{{
EDXAPP_LOGGING_ENV
}}"
SESSION_COOKIE_DOMAIN
:
"
{{
EDXAPP_SESSION_COOKIE_DOMAIN
}}"
SESSION_COOKIE_DOMAIN
:
"
{{
EDXAPP_SESSION_COOKIE_DOMAIN
}}"
...
...
This diff is collapsed.
Click to expand it.
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