* Oupsie in run_celery.sh
This commit is contained in:
parent
29e76a5371
commit
13333f7681
|
|
@ -7,7 +7,7 @@ echo 'Starting Celery worker'
|
||||||
celery -A $PROJECT_NAME worker -l INFO --pidfile=/tmp/celery.pid &
|
celery -A $PROJECT_NAME worker -l INFO --pidfile=/tmp/celery.pid &
|
||||||
|
|
||||||
# Wait for worker to start
|
# 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"
|
>&2 echo "Celery workers not available"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user