Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DATABASE_URL config parser #5192

Merged
merged 3 commits into from
Feb 15, 2022
Merged

Fix DATABASE_URL config parser #5192

merged 3 commits into from
Feb 15, 2022

Conversation

vbaranov
Copy link
Member

@vbaranov vbaranov commented Feb 14, 2022

Resolves #5180
Resolves #5130
Resolves #3849
Closes #3840
Closes #4736

Motivation

DATABASE_URL env variable params are not used by Explorer.Repo in some combinations with other environment variables.

Checklist for your Pull Request (PR)

rkachowski and others added 2 commits February 14, 2022 19:38
* Extract database parameters from DATABASE_URL.
* Return 0 if coinsupply last fetched counter doesn't exist

* Stop api from writing to db
…move other application DB params except DATABASE_URL, fix bug when empty DB password in DATABASE_URL is overwritten by PGPASSWORD
@vbaranov vbaranov merged commit 776fa44 into master Feb 15, 2022
@vbaranov vbaranov mentioned this pull request Mar 1, 2022
6 tasks
@vbaranov vbaranov deleted the vb-db-config-parser branch March 1, 2022 17:40
@royki royki mentioned this pull request Jul 28, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment