6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-13 06:37:46 +00:00

k8s workers queues fix

This commit is contained in:
susguzman 2020-07-18 08:06:31 -06:00 committed by Régis Behmo
parent d5659cc03b
commit 156b0de115

View File

@ -61,7 +61,7 @@ spec:
containers: containers:
- name: cms-worker - name: cms-worker
image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }} image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }}
args: ["./manage.py", "cms", "celery", "worker", "--loglevel=info", "--hostname=edx.cms.core.default.%%h", "--maxtasksperchild", "100"] args: ["./manage.py", "cms", "celery", "worker", "--loglevel=info", "--hostname=edx.cms.core.default.%%h", "--maxtasksperchild", "100", "--exclude-queues=edx.lms.core.default"]
env: env:
- name: SERVICE_VARIANT - name: SERVICE_VARIANT
value: cms value: cms
@ -176,7 +176,7 @@ spec:
containers: containers:
- name: lms-worker - name: lms-worker
image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }} image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }}
args: ["./manage.py", "lms", "celery", "worker", "--loglevel=info", "--hostname=edx.lms.core.default.%%h", "--maxtasksperchild", "100"] args: ["./manage.py", "lms", "celery", "worker", "--loglevel=info", "--hostname=edx.lms.core.default.%%h", "--maxtasksperchild", "100", "--exclude-queues=edx.cms.core.default"]
env: env:
- name: SERVICE_VARIANT - name: SERVICE_VARIANT
value: lms value: lms