Fix ungraceful Celery workers shutdown in container (#3405)

This commit is contained in:
Chao Yang Wu 2021-11-16 16:57:08 +08:00 committed by GitHub
parent 69b2c2ad61
commit dbaf09a5e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -5,4 +5,4 @@ set -o pipefail
set -o nounset
celery -A config.celery_app beat -l INFO
exec celery -A config.celery_app beat -l INFO

View File

@ -4,7 +4,7 @@ set -o errexit
set -o nounset
celery \
exec celery \
-A config.celery_app \
-b "${CELERY_BROKER_URL}" \
flower \

View File

@ -5,4 +5,4 @@ set -o pipefail
set -o nounset
celery -A config.celery_app worker -l INFO
exec celery -A config.celery_app worker -l INFO