Ledger cleanup service's configuration needs to be tied to something #7552
Labels
stale
[bot only] Added to stale content; results in auto-close after a week.
Milestone
Problem
#7515 introduced a fixed number of slots that ledger cleanup service will keep around in the ledger (
MAX_LEDGER_SLOTS
).This number isn't tied to slot time or snapshot interval and it might need to.
For example:
MAX_LEDGER_SLOTS
then we cannot guarantee being able to restartProposed Solution
If possible, justify the chosen value of
MAX_LEDGER_SLOTS
using a combination of snapshot_interval (cap or fix snapshot interval?) and Slot time.Tag: @pgarg66
The text was updated successfully, but these errors were encountered: