-
Notifications
You must be signed in to change notification settings - Fork 351
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
Problem: too long default timeout_commit value #494
Problem: too long default timeout_commit value #494
Conversation
@lezzokafka @tomtau I've changed the default |
Codecov Report
@@ Coverage Diff @@
## master #494 +/- ##
==========================================
- Coverage 10.63% 10.62% -0.01%
==========================================
Files 34 34
Lines 4909 4912 +3
==========================================
Hits 522 522
- Misses 4209 4211 +2
- Partials 178 179 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
this appears to override it globally rather than just change the default "init" value?
Yeah. Ideally it should be changed here: https://github.com/cosmos/cosmos-sdk/blob/3c65c3dacded18f2d0b9f607bc7f679feff6afad/server/util.go#L202 But, that'll change the default value for all cosmos-sdk chains. I didn't find any direct way to change these defaults (other than changing the |
I'll try to patch the config file in |
Solution: changed default timeout_commit value to 3 seconds
5e81329
to
a186778
Compare
Changed. Now we only set the default value in |
Solution: changed default timeout_commit value to 3 seconds. Fixes #486.
These are the new defaults: