Skip to content
Snippets Groups Projects
Commit d0d01f34 authored by Santiago Said's avatar Santiago Said
Browse files

[FIX] Wait 30 secs before returning to prevent "psql: could not connect to server"

parent 6d059904
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ function get_aws_backup {
function stop_container {
docker-compose stop
docker-compose up -d db
echo "Waiting 30s to ensure db is up and running..."
sleep 30
}
function restore_db {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment