mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 14:43:03 +00:00
fix: make LMS process LMS tasks, and not CMS tasks
lms-worker was configured to run CMS tasks instead of LMS tasks. I'm not sure what tasks were being dismissed, and what is the actual production impact.
This commit is contained in:
parent
877cf52c4c
commit
39924121be
@ -4,6 +4,8 @@ Note: Breaking changes between versions are indicated by "💥".
|
||||
|
||||
## Unreleased
|
||||
|
||||
- [Bugfix] Make LMS celery workers actually process LMS tasks, and not CMS tasks.
|
||||
|
||||
## v11.2.2 (2021-02-17)
|
||||
|
||||
- [Security] Apply security patch [26592](https://github.com/edx/edx-platform/pull/26592)
|
||||
|
@ -215,7 +215,7 @@ spec:
|
||||
containers:
|
||||
- name: lms-worker
|
||||
image: {{ DOCKER_IMAGE_OPENEDX }}
|
||||
args: ["celery", "worker", "--app=cms.celery", "--loglevel=info", "--hostname=edx.lms.core.default.%%h", "--maxtasksperchild", "100", "--exclude-queues=edx.cms.core.default"]
|
||||
args: ["celery", "worker", "--app=lms.celery", "--loglevel=info", "--hostname=edx.lms.core.default.%%h", "--maxtasksperchild=100", "--exclude-queues=edx.cms.core.default"]
|
||||
env:
|
||||
- name: SERVICE_VARIANT
|
||||
value: lms
|
||||
|
@ -127,7 +127,7 @@ services:
|
||||
SERVICE_VARIANT: lms
|
||||
SETTINGS: ${TUTOR_EDX_PLATFORM_SETTINGS:-tutor.production}
|
||||
C_FORCE_ROOT: "1" # run celery tasks as root #nofear
|
||||
command: celery worker --app=cms.celery --loglevel=info --hostname=edx.lms.core.default.%%h --maxtasksperchild 100 --exclude-queues=edx.cms.core.default
|
||||
command: celery worker --app=lms.celery --loglevel=info --hostname=edx.lms.core.default.%%h --maxtasksperchild=100 --exclude-queues=edx.cms.core.default
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ../apps/openedx/settings/lms/:/openedx/edx-platform/lms/envs/tutor/:ro
|
||||
|
Loading…
Reference in New Issue
Block a user