Skip to content

Commit

Permalink
increase timeouts to stabilize block production (#10373)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecsavvy authored Nov 7, 2024
1 parent 70ff58d commit 7929225
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkg/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,13 @@ func setupNode(logger *common.Logger) (*config.Config, *cconfig.Config, error) {
// empty blocks wait one second to propose since plays should be a steady stream
// of txs
cometConfig.Mempool.Recheck = false
cometConfig.Consensus.TimeoutCommit = 100 * time.Millisecond
cometConfig.Consensus.TimeoutPropose = 100 * time.Millisecond
cometConfig.Consensus.TimeoutProposeDelta = 50 * time.Millisecond
cometConfig.Consensus.TimeoutPrevote = 100 * time.Millisecond
cometConfig.Consensus.TimeoutPrevoteDelta = 50 * time.Millisecond
cometConfig.Consensus.TimeoutPrecommit = 100 * time.Millisecond
cometConfig.Consensus.TimeoutPrecommitDelta = 50 * time.Millisecond
cometConfig.Consensus.TimeoutCommit = 200 * time.Millisecond
cometConfig.Consensus.TimeoutPropose = 200 * time.Millisecond
cometConfig.Consensus.TimeoutProposeDelta = 75 * time.Millisecond
cometConfig.Consensus.TimeoutPrevote = 150 * time.Millisecond
cometConfig.Consensus.TimeoutPrevoteDelta = 75 * time.Millisecond
cometConfig.Consensus.TimeoutPrecommit = 150 * time.Millisecond
cometConfig.Consensus.TimeoutPrecommitDelta = 75 * time.Millisecond
cometConfig.Consensus.CreateEmptyBlocks = true
cometConfig.Consensus.CreateEmptyBlocksInterval = 1 * time.Second

Expand Down

0 comments on commit 7929225

Please sign in to comment.