From 66f184b41b35d2668517c103507ccd414a299f8d Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 25 Oct 2021 13:23:54 +0700 Subject: [PATCH] increase timeout to wait for es --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index c85f5f2..64c39b2 100644 --- a/run.sh +++ b/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