Commit 0b61895b by John Jarvis

makes an all-caps var for celery workers

parent bb1e7e16
...@@ -318,6 +318,30 @@ EDXAPP_REGISTRATION_EXTRA_FIELDS: ...@@ -318,6 +318,30 @@ EDXAPP_REGISTRATION_EXTRA_FIELDS:
city: "hidden" city: "hidden"
country: "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 ------------ #-------- Everything below this line is internal to the role ------------
#Use YAML references (& and *) and hash merge <<: to factor out shared settings #Use YAML references (& and *) and hash merge <<: to factor out shared settings
...@@ -349,28 +373,7 @@ edxapp_git_ssh: "/tmp/edxapp_git_ssh.sh" ...@@ -349,28 +373,7 @@ edxapp_git_ssh: "/tmp/edxapp_git_ssh.sh"
# TODO: This can be removed once VPC-122 is resolved # TODO: This can be removed once VPC-122 is resolved
edxapp_legacy_course_data_dir: "{{ edxapp_app_dir }}/data" edxapp_legacy_course_data_dir: "{{ edxapp_app_dir }}/data"
edxapp_workers: edxapp_workers: "{{ 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
# setup for python codejail # setup for python codejail
edxapp_sandbox_venv_dir: '{{ edxapp_venvs_dir }}/edxapp-sandbox' edxapp_sandbox_venv_dir: '{{ edxapp_venvs_dir }}/edxapp-sandbox'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment