Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
remove change
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed Jan 18, 2024
1 parent 17ea475 commit 1fc6fc3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cosmos/config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
package config

import (
"time"

"github.com/berachain/polaris/eth/node"
"github.com/berachain/polaris/eth/polar"

Expand All @@ -33,8 +35,8 @@ import (
// for the application.
func RecommendedCometBFTConfig() *cmtcfg.Config {
cfg := cmtcfg.DefaultConfig()
cfg.Mempool.Size = 30000
cfg.Mempool.CacheSize = 30000
cfg.Mempool.Size = 3000
cfg.Mempool.CacheSize = 250000
cfg.Mempool.Recheck = true
cfg.Mempool.Type = "flood"

Expand All @@ -43,6 +45,10 @@ func RecommendedCometBFTConfig() *cmtcfg.Config {

cfg.TxIndex.Indexer = "null"

cfg.Consensus.TimeoutPropose = 3 * time.Second

Check failure on line 48 in cosmos/config/default.go

View workflow job for this annotation

GitHub Actions / ci (lint, polaris-linux-latest, 1.21.6)

mnd: Magic number: 3, in <operation> detected (gomnd)
cfg.Consensus.TimeoutPrevote = 1 * time.Second
cfg.Consensus.TimeoutPrecommit = 1 * time.Second

cfg.Instrumentation.Prometheus = true
return cfg
}
Expand Down

0 comments on commit 1fc6fc3

Please sign in to comment.