wait and retry connection to database if it fails
Like, wait 10 seconds and retry connection. This is useful in docker-compose: when both services are started at once, the database isn't ready to accept connections immediately.
Like, wait 10 seconds and retry connection. This is useful in docker-compose: when both services are started at once, the database isn't ready to accept connections immediately.