feat: correctly delete applications using Celery workers (#5787)

This commit is contained in:
Charles Zhou
2024-07-01 01:21:17 -05:00
committed by GitHub
parent 5692f9b33b
commit cb09dbef66
11 changed files with 158 additions and 60 deletions

View File

@@ -9,7 +9,7 @@ fi
if [[ "${MODE}" == "worker" ]]; then
celery -A app.celery worker -P ${CELERY_WORKER_CLASS:-gevent} -c ${CELERY_WORKER_AMOUNT:-1} --loglevel INFO \
-Q ${CELERY_QUEUES:-dataset,generation,mail,ops_trace}
-Q ${CELERY_QUEUES:-dataset,generation,mail,ops_trace,app_deletion}
elif [[ "${MODE}" == "beat" ]]; then
celery -A app.celery beat --loglevel INFO
else