Commit c79b6f03 authored by Adrian Sutton's avatar Adrian Sutton

fix(op-node): Increase blockHeightLRU size for better application layer duplicate detection.

parent 8c506e43
......@@ -235,7 +235,7 @@ func BuildBlocksValidator(log log.Logger, cfg *rollup.Config, runCfg GossipRunti
// Seen block hashes per block height
// uint64 -> *seenBlocks
blockHeightLRU, err := lru.New(100)
blockHeightLRU, err := lru.New(1000)
if err != nil {
panic(fmt.Errorf("failed to set up block height LRU cache: %w", err))
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment