lifecycle: update celery command for 5.0

This commit is contained in:
Jens Langhammer 2020-09-26 02:17:39 +02:00
parent 40f1de3b11
commit 502e43085f
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ printf '{"event": "Bootstrap completed", "level": "info", "logger": "bootstrap",
if [[ "$1" == "server" ]]; then if [[ "$1" == "server" ]]; then
gunicorn -c /lifecycle/gunicorn.conf.py passbook.root.asgi:application gunicorn -c /lifecycle/gunicorn.conf.py passbook.root.asgi:application
elif [[ "$1" == "worker" ]]; then elif [[ "$1" == "worker" ]]; then
celery worker --autoscale=10,3 -E -B -A=passbook.root.celery -s=/tmp/celerybeat-schedule -Q passbook,passbook_scheduled celery -A passbook.root.celery worker --autoscale 10,3 -E -B -s /tmp/celerybeat-schedule -Q passbook,passbook_scheduled
elif [[ "$1" == "migrate" ]]; then elif [[ "$1" == "migrate" ]]; then
# Run system migrations first, run normal migrations after # Run system migrations first, run normal migrations after
python -m lifecycle.migrate python -m lifecycle.migrate

View File

@ -6036,7 +6036,7 @@ definitions:
re_evaluate_policies: re_evaluate_policies:
title: Re evaluate policies title: Re evaluate policies
description: When this option is enabled, the planner will re-evaluate policies description: When this option is enabled, the planner will re-evaluate policies
bound to this. bound to this binding.
type: boolean type: boolean
order: order:
title: Order title: Order