Skip to content

Commit

Permalink
chore: default timeout commit to 1.5s (backport #8149) (#8150)
Browse files Browse the repository at this point in the history
* chore: default timeout commit to 1.5s (#8149)

* 1.5s timeout commit default

* add changelog

(cherry picked from commit 53e532b)

# Conflicts:
#	CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: Adam Tucker <[email protected]>
  • Loading branch information
mergify[bot] and czarcas7ic authored Apr 26, 2024
1 parent 9929fae commit 957c581
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### State Compatible

## v24.0.4

* [#8142](https://github.com/osmosis-labs/osmosis/pull/8142) Add query for getting single authenticator and add stargate whitelist for the query.
* [#8149](https://github.com/osmosis-labs/osmosis/pull/8149) Default timeoutCommit to 1.5s

## v24.0.3

* [#21](https://github.com/osmosis-labs/cometbft/pull/21) Move websocket logs to Debug
Expand Down
2 changes: 1 addition & 1 deletion cmd/osmosisd/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command {
config.StateSync.TrustPeriod = 112 * time.Hour

// Consensus
config.Consensus.TimeoutCommit = 2 * time.Second
config.Consensus.TimeoutCommit = 1500 * time.Millisecond // 1.5s
// config.Consensus.PeerGossipSleepDuration = 10 * time.Millisecond

// Other
Expand Down
2 changes: 1 addition & 1 deletion cmd/osmosisd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ var (
{
Section: "consensus",
Key: "timeout_commit",
Value: "2s",
Value: "1.5s",
},
}
)
Expand Down

0 comments on commit 957c581

Please sign in to comment.