mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +00:00
increase timeout to wait for es
This commit is contained in:
parent
0ce5183056
commit
66f184b41b
4
run.sh
4
run.sh
@ -6,11 +6,11 @@ until curl "$ES_URL" -fs; do
|
||||
echo "waiting for elastic search to start"
|
||||
counter=$((counter+1))
|
||||
if [[ $counter -eq 12 ]]; then
|
||||
# fail after 1 min
|
||||
# fail after 2 min
|
||||
echo "failed to connect to elastic search, exiting..."
|
||||
exit 1
|
||||
fi
|
||||
sleep 5
|
||||
sleep 10
|
||||
done
|
||||
|
||||
python manage.py makemigrations
|
||||
|
Loading…
Reference in New Issue
Block a user