reth
reth copied to clipboard
Account and storage history pruner should be check limiter more often
trafficstars
Describe the change
https://github.com/paradigmxyz/reth/blob/95b8a8535b9bf0bad3222aaa6e24aa1056c6bda9/crates/prune/prune/src/builder.rs#L57-L64
The time limiter is not really being respected as the config suggests, because one iteration takes way too much time.
Right now we just take the whole range and prune it, however we have been getting reports in which the pruner seems to be taking too long. 800ms-2s
We could probably wrap this in a loop and check the limiter on each iteration?
Additional context
No response