* Oupsie in run_celery.sh
This commit is contained in:
parent
9d7e45cd65
commit
73c7bdeb37
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user