fix Sandbox/Nexus waiting (7293)
This commit is contained in:
parent
2c4bd1e1d0
commit
516d8e30ed
@ -37,13 +37,13 @@ echo -n "Waiting for Sandbox.."
|
||||
for n in `seq 1 50`; do
|
||||
echo -n "."
|
||||
sleep 1
|
||||
wget --timeout=1 \
|
||||
if wget --timeout=1 \
|
||||
--tries=3 --waitretry=0 \
|
||||
-o /dev/null -O /dev/null \
|
||||
$LIBEUFIN_SANDBOX_URL
|
||||
$LIBEUFIN_SANDBOX_URL; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
sleep 1 #7293
|
||||
echo OK
|
||||
|
||||
register_sandbox_account() {
|
||||
@ -122,13 +122,13 @@ set +e
|
||||
for n in `seq 1 50`; do
|
||||
echo -n "."
|
||||
sleep 1
|
||||
wget --timeout=1 \
|
||||
if wget --timeout=1 \
|
||||
--tries=3 --waitretry=0 \
|
||||
-o /dev/null -O /dev/null \
|
||||
$LIBEUFIN_NEXUS_URL
|
||||
$LIBEUFIN_NEXUS_URL; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
sleep 1 #7293
|
||||
set -e
|
||||
echo OK
|
||||
export LIBEUFIN_NEXUS_USERNAME=exchange
|
||||
|
Loading…
Reference in New Issue
Block a user