Skip to content

Commit

Permalink
remove set consensus timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
TongTianTaiShi committed Mar 27, 2024
1 parent 62f45bb commit 8275243
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/titand/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import (
cmtcfg "github.com/cometbft/cometbft/config"
serverconfig "github.com/cosmos/cosmos-sdk/server/config"
sdk "github.com/cosmos/cosmos-sdk/types"
"time"

"titan/app"
)

Expand All @@ -29,7 +27,6 @@ func initSDKConfig() {
// return cmtcfg.DefaultConfig if no custom configuration is required for the application.
func initCometBFTConfig() *cmtcfg.Config {
cfg := cmtcfg.DefaultConfig()
cfg.Consensus.TimeoutCommit = 5000 * time.Millisecond
// these values put a higher strain on node memory
// cfg.P2P.MaxNumInboundPeers = 100
// cfg.P2P.MaxNumOutboundPeers = 40
Expand Down

0 comments on commit 8275243

Please sign in to comment.