From 502e43085fdc57cbf2917a1e864c022b89e48780 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 26 Sep 2020 02:17:39 +0200 Subject: [PATCH] lifecycle: update celery command for 5.0 --- lifecycle/bootstrap.sh | 2 +- swagger.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lifecycle/bootstrap.sh b/lifecycle/bootstrap.sh index 63c1502f5..21a3b8f15 100755 --- a/lifecycle/bootstrap.sh +++ b/lifecycle/bootstrap.sh @@ -4,7 +4,7 @@ printf '{"event": "Bootstrap completed", "level": "info", "logger": "bootstrap", if [[ "$1" == "server" ]]; then gunicorn -c /lifecycle/gunicorn.conf.py passbook.root.asgi:application 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 # Run system migrations first, run normal migrations after python -m lifecycle.migrate diff --git a/swagger.yaml b/swagger.yaml index 61c9c40a3..b81b9023c 100755 --- a/swagger.yaml +++ b/swagger.yaml @@ -6036,7 +6036,7 @@ definitions: re_evaluate_policies: title: Re evaluate policies description: When this option is enabled, the planner will re-evaluate policies - bound to this. + bound to this binding. type: boolean order: title: Order