before, the Status API would just ping ENV['DATABASE_URL'] and check
for ok, this does not work for connection strings that have flags on the
end such as catalog:
postgresql://xxx:xxx@catalog-postgresql:5432/catalog_production?encoding=utf8&pool=5&wait_timeout=5
This updates the code to handle such a connection string.
before, the Status API would just ping
ENV['DATABASE_URL']
and check for ok, this does not work for connection strings that have flags on the end such as catalog:postgresql://xxx:xxx@catalog-postgresql:5432/catalog_production?encoding=utf8&pool=5&wait_timeout=5
This updates the code to handle such a connection string.