Aimeedeer / realtps

https://realtps.net
MIT License
93 stars 25 forks source link

Chains that fall behind don't get garbage collected #29

Open brson opened 2 years ago

brson commented 2 years ago

We delete data that is older than 1 week. That calculation is based on the "highest_block_number", but that block number doesn't get updated when a chain falls permanently behind. So in cases where a chain falls behind forever we accumulate data forever.