Skip to content

Commit

Permalink
changed default network configs in init cmd (#1058)
Browse files Browse the repository at this point in the history
  • Loading branch information
miladz68 authored Jan 2, 2025
1 parent 8910002 commit d1b60ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/config/node_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ func (nc NodeConfig) TendermintNodeConfig(cfg *tmcfg.Config) *tmcfg.Config {
}

// Update the default consensus config
cfg.Consensus.TimeoutCommit = time.Second
cfg.Consensus.TimeoutCommit = 500 * time.Millisecond
cfg.Consensus.PeerGossipSleepDuration = 10 * time.Millisecond
cfg.Consensus.PeerQueryMaj23SleepDuration = 10 * time.Millisecond
cfg.P2P.FlushThrottleTimeout = 10 * time.Millisecond

return cfg
}
Expand Down

0 comments on commit d1b60ff

Please sign in to comment.