Move maximum ExExManager capacity to a constant #11277
Labels
A-exex
Execution Extensions
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
reth/crates/node/builder/src/launch/exex.rs
Lines 98 to 110 in 37b0c56
This magic number
1024
on line 109 should be moved to a constant but not removed from theExExManager::new
arguments, so that we can still test the functionality of limiting the capacity.1024 notifications in the buffer is 3.5 hours of mainnet blocks, or 17 minutes of 1-second blocks. It should be enough for any use-case, and we can make it configurable once there's a demand for that.
Additional context
No response
The text was updated successfully, but these errors were encountered: