mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-27 18:42:46 +00:00
mempool: allow ReapX and CheckTx functions to run in parallel
allow ReapX and CheckTx functions to run in parallel, making it not possible to block certain proposers from creating a new block. Closes: #2972
This commit is contained in:
committed by
Tess Rinearson
parent
29035985c6
commit
62018d90df
+4
-1
@@ -773,7 +773,10 @@ func (n *Node) OnStart() error {
|
||||
n.isListening = true
|
||||
|
||||
if n.config.Mempool.WalEnabled() {
|
||||
n.mempool.InitWAL() // no need to have the mempool wal during tests
|
||||
err = n.mempool.InitWAL()
|
||||
if err != nil {
|
||||
return fmt.Errorf("init mempool WAL: %w", err)
|
||||
}
|
||||
}
|
||||
|
||||
// Start the switch (the P2P server).
|
||||
|
||||
Reference in New Issue
Block a user