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

feat: set commit timeout #ntrn-79 #294

Merged
merged 3 commits into from
Aug 8, 2023
Merged

Conversation

NeverHappened
Copy link
Contributor

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

@NeverHappened NeverHappened self-assigned this Jul 26, 2023
@NeverHappened NeverHappened changed the base branch from main to update-sdk47 July 26, 2023 11:57
@NeverHappened NeverHappened force-pushed the feat/set-commit-timeout branch from df9dae5 to 7291a85 Compare July 26, 2023 11:58
Copy link
Collaborator

@pr0n00gler pr0n00gler left a 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

@NeverHappened
Copy link
Contributor Author

I think it's base branch issues, waiting to rebase on fix of them

@foxpy
Copy link
Contributor

foxpy commented Jul 30, 2023

@NeverHappened you have merge conflicts by the way

@NeverHappened NeverHappened force-pushed the feat/set-commit-timeout branch from 7291a85 to 6678a44 Compare July 31, 2023 08:20
@@ -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())
Copy link
Collaborator

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

@NeverHappened
Copy link
Contributor Author

@pr0n00gler pr0n00gler merged commit 4fa3d5a into update-sdk47 Aug 8, 2023
@pr0n00gler pr0n00gler deleted the feat/set-commit-timeout branch May 9, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants