* Oupsie in run_celery.sh

This commit is contained in:
Phil Zhitnikov 2023-12-02 17:37:22 +04:00
parent 9d7e45cd65
commit 73c7bdeb37

View File

@ -7,7 +7,7 @@ echo 'Starting Celery worker'
celery -A $PROJECT_NAME worker -l INFO --pidfile=/tmp/celery.pid &
# Wait for worker to start
until timeout -t 10 celery -A project inspect ping; do
until timeout 10s celery -A $PROJECT_NAME inspect ping; do
>&2 echo "Celery workers not available"
done