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
edx
configuration
Commits
682e1bc8
Commit
682e1bc8
authored
Sep 15, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1531 from edx/jarv/make-celery-workers-override
makes an all-caps var for celery workers
parents
108c86da
b0e1e1c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
22 deletions
+27
-22
CHANGELOG.md
+2
-0
playbooks/roles/edxapp/defaults/main.yml
+25
-22
No files found.
CHANGELOG.md
View file @
682e1bc8
-
Role: edxapp
-
We now have an all caps variable override for celery workers
-
Role: common
-
We now remove the default syslog.d conf file (50-default.conf) this will
break people who have hand edited that file.
...
...
playbooks/roles/edxapp/defaults/main.yml
View file @
682e1bc8
...
...
@@ -320,6 +320,30 @@ EDXAPP_REGISTRATION_EXTRA_FIELDS:
city
:
"
hidden"
country
:
"
hidden"
EDXAPP_CELERY_WORKERS
:
-
queue
:
low
service_variant
:
cms
concurrency
:
3
-
queue
:
default
service_variant
:
cms
concurrency
:
4
-
queue
:
high
service_variant
:
cms
concurrency
:
1
-
queue
:
low
service_variant
:
lms
concurrency
:
1
-
queue
:
default
service_variant
:
lms
concurrency
:
3
-
queue
:
high
service_variant
:
lms
concurrency
:
4
-
queue
:
high_mem
service_variant
:
lms
concurrency
:
2
#-------- Everything below this line is internal to the role ------------
#Use YAML references (& and *) and hash merge <<: to factor out shared settings
...
...
@@ -351,28 +375,7 @@ edxapp_git_ssh: "/tmp/edxapp_git_ssh.sh"
# TODO: This can be removed once VPC-122 is resolved
edxapp_legacy_course_data_dir
:
"
{{
edxapp_app_dir
}}/data"
edxapp_workers
:
-
queue
:
low
service_variant
:
cms
concurrency
:
3
-
queue
:
default
service_variant
:
cms
concurrency
:
4
-
queue
:
high
service_variant
:
cms
concurrency
:
1
-
queue
:
low
service_variant
:
lms
concurrency
:
1
-
queue
:
default
service_variant
:
lms
concurrency
:
3
-
queue
:
high
service_variant
:
lms
concurrency
:
4
-
queue
:
high_mem
service_variant
:
lms
concurrency
:
2
edxapp_workers
:
"
{{
EDXAPP_CELERY_WORKERS
}}"
# setup for python codejail
edxapp_sandbox_venv_dir
:
'
{{
edxapp_venvs_dir
}}/edxapp-sandbox'
...
...
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