зеркало из https://github.com/mozilla/fxa.git
chore(scripts): increase check-url.sh RETRY value
Because: * Mac M1 and M2 machines are slower to start up infrastructure like Redis and Firestore (which runs under emulation). This commit: * Doubles the RETRY period from 120 to 240s as most of the time, the __heartbeat__ response for fxa-auth-server and firestore processes responded between 140 - 190s. Closes #No ticket
This commit is contained in:
Родитель
803c55bbb1
Коммит
67512368ad
|
@ -3,7 +3,7 @@
|
|||
echo "Checking for response from: $1"
|
||||
|
||||
|
||||
RETRY=120
|
||||
RETRY=240
|
||||
for i in $(eval echo "{1..$RETRY}"); do
|
||||
if [ "$(curl -s -o /dev/null --silent -w "%{http_code}" http://$1)" == "${2:-200}" ]; then
|
||||
echo "$1 responded in $SECONDS seconds"
|
||||
|
|
Загрузка…
Ссылка в новой задаче