mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-27 09:03:28 +00:00
76ef7de74f
Before edx-platform was upgraded to Celery 5, lms-worker and cms-worker could be invoked using this syntax: celery worker --app=APP <args> --maxtasksperchild=N <args> Since the recent Celery 5 upgrade (edx-platform commit 0588c92), though, this fails with the messages: You are using `--app` as an option of the worker sub-command: celery worker --app celeryapp <...> The support for this usage was removed in Celery 5.0. Instead you should use `--app` as a global option: celery --app celeryapp worker <...> and: Error: No such option: --maxtasksperchild (Possible options: --max-memory-per-child, --max-tasks-per-child) So, this commit changes the lms-worker and cms-worker invocations to: celery --app=APP <args> --max-tasks-per-child=N <args> |
||
---|---|---|
.. | ||
commands | ||
templates | ||
__about__.py | ||
__init__.py | ||
bindmounts.py | ||
config.py | ||
env.py | ||
exceptions.py | ||
fmt.py | ||
images.py | ||
interactive.py | ||
jobs.py | ||
plugins.py | ||
serialize.py | ||
types.py | ||
utils.py |