-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Hotfix/split db config #2668
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
Hotfix/split db config #2668
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2668 +/- ##
=============================================
- Coverage 30.81% 30.75% -0.06%
+ Complexity 1751 1744 -7
=============================================
Files 367 367
Lines 18256 18235 -21
Branches 2136 2135 -1
=============================================
- Hits 5625 5608 -17
+ Misses 11958 11956 -2
+ Partials 673 671 -2
Continue to review full report at Codecov.
|
public static void initVMConfig(Args cfgArgs) { | ||
VMConfig.setMaxTimeRatio(cfgArgs.getMaxTimeRatio()); | ||
VMConfig.setMinTimeRatio(cfgArgs.getMinTimeRatio()); | ||
VMConfig.setDebug(cfgArgs.isDebug()); |
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.
Whether isDebug should be in this VMConfig or not?
VMConfig.setDebug(cfgArgs.isDebug()); | ||
VMConfig.setCheckFrozenTime(cfgArgs.getCheckFrozenTime()); | ||
VMConfig.setProposalExpireTime(cfgArgs.getProposalExpireTime()); | ||
VMConfig.setSolidityNode(cfgArgs.isSolidityNode()); |
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.
Whether isSolidityNode should be in this VMConfig or not?
VMConfig.setMinTimeRatio(cfgArgs.getMinTimeRatio()); | ||
VMConfig.setDebug(cfgArgs.isDebug()); | ||
VMConfig.setCheckFrozenTime(cfgArgs.getCheckFrozenTime()); | ||
VMConfig.setProposalExpireTime(cfgArgs.getProposalExpireTime()); |
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.
Whether ProposalExpireTime should be in this VMConfig or not?
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.
Please review the comment
…nto hotfix/splitDBConfig
3abcc4a
to
648a73e
Compare
648a73e
to
e284a61
Compare
…nto hotfix/splitDBConfig
What does this PR do?
Split DB config to vmConfig
Why are these changes required?
Split DB config to vmConfig