-
Notifications
You must be signed in to change notification settings - Fork 97
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
feat: set commit timeout #ntrn-79 #294
Conversation
df9dae5
to
7291a85
Compare
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 fix linter issues
I think it's base branch issues, waiting to rebase on fix of them |
@NeverHappened you have merge conflicts by the way |
7291a85
to
6678a44
Compare
cmd/neutrond/root.go
Outdated
@@ -87,7 +88,14 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { | |||
} | |||
|
|||
customTemplate, customNeutronConfig := initAppConfig() | |||
return server.InterceptConfigsPreRunHandler(cmd, customTemplate, customNeutronConfig, tmcfg.DefaultConfig()) | |||
err = server.InterceptConfigsPreRunHandler(cmd, customTemplate, customNeutronConfig, tmcfg.DefaultConfig()) |
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.
You can just create our own DefaultConfig()
instead of tmcfg.DefaultConfig()
with timeout_commit = 5s
…ion of interceptConfig
https://hadronlabs.atlassian.net/browse/NTRN-79
checked only by printing in server config in cmd, it's hard to discover cometbft settings in runtime