Skip to content

Commit

Permalink
mempool.extractionDelaySecs now default to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Jul 28, 2022
1 parent 614833c commit fd9be51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion harness/engine/profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func Profile1(index int, node *DuskNode, consensusKeysPath string) {
// viper.Set("mempool.preallocTxs", "100")
viper.Set("mempool.poolType", "diskpool")
viper.Set("mempool.diskpoolDir", node.Dir+"/mempool.db")
viper.Set("mempool.extractionDelaySecs", "3")
// viper.Set("mempool.extractionDelaySecs", "3")

viper.Set("mempool.maxInvItems", "10000")
viper.Set("mempool.propagateTimeout", "100ms")
Expand Down
1 change: 1 addition & 0 deletions pkg/config/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ func init() {
r.General.Network = devnet
r.Consensus.ConsensusTimeOut = DefaultConsensusTimeOutSeconds
r.Mempool.MaxInvItems = 10000
r.Mempool.ExtractionDelaySecs = 3
r.State.PersistEvery = 1
r.State.BlockGasLimit = DefaultBlockGasLimit
}

0 comments on commit fd9be51

Please sign in to comment.