mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 17:39:49 +03:00
More formatting
This commit is contained in:
parent
ec074269f2
commit
c551f2e02e
|
@ -19,8 +19,8 @@ brew services start postgresql
|
||||||
for i in $(seq 10 -1 0); do
|
for i in $(seq 10 -1 0); do
|
||||||
eval pg_isready && break
|
eval pg_isready && break
|
||||||
if [ $i == 0 ]; then
|
if [ $i == 0 ]; then
|
||||||
echo "PostgreSQL service not ready, giving up"
|
echo "PostgreSQL service not ready, giving up"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "PostgreSQL service not ready, waiting a bit, attempts left: $i"
|
echo "PostgreSQL service not ready, waiting a bit, attempts left: $i"
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
Loading…
Reference in New Issue
Block a user