-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add primary datasource for web3 #10197
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jesse Nelson <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10197 +/- ##
============================================
- Coverage 92.38% 92.05% -0.33%
- Complexity 5578 7929 +2351
============================================
Files 730 969 +239
Lines 24705 33195 +8490
Branches 3225 4179 +954
============================================
+ Hits 22824 30559 +7735
- Misses 1122 1656 +534
- Partials 759 980 +221 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Jesse Nelson <[email protected]>
|
@Value("${hedera.mirror.web3.db.host}") String defaultHost) { | ||
var url = properties | ||
.determineUrl() | ||
.replaceAll("jdbc:postgresql://" + defaultHost, "jdbc:postgresql://" + primaryHost); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace is fine here . will fix
Description:
Related issue(s):
Fixes #
Notes for reviewer:
Checklist