Fix TimeoutCommit (#2743)
* Fix TimeoutCommit to 5 seconds instead of whatever it was before which was too short.
This commit is contained in:
parent
056e75c30b
commit
61fd142b9e
|
@ -48,7 +48,8 @@ BUG FIXES
|
|||
* Gaia CLI (`gaiacli`)
|
||||
|
||||
* Gaia
|
||||
|
||||
* [\#2742](https://github.com/cosmos/cosmos-sdk/issues/2742) Fix time format of TimeoutCommit override
|
||||
|
||||
* SDK
|
||||
|
||||
* Tendermint
|
||||
|
|
|
@ -7,6 +7,7 @@ import (
|
|||
"os/signal"
|
||||
"path/filepath"
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"github.com/spf13/cobra"
|
||||
|
@ -92,7 +93,7 @@ func interceptLoadConfig() (conf *cfg.Config, err error) {
|
|||
conf.P2P.RecvRate = 5120000
|
||||
conf.P2P.SendRate = 5120000
|
||||
conf.TxIndex.IndexAllTags = true
|
||||
conf.Consensus.TimeoutCommit = 5000
|
||||
conf.Consensus.TimeoutCommit = 5 * time.Second
|
||||
cfg.WriteConfigFile(configFilePath, conf)
|
||||
// Fall through, just so that its parsed into memory.
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue