Refactor `PivotUpdator` to be really infinite
Is your feature request related to a problem? Please describe.
Right now we are using MaxAttemptsToUpdatePivot = int.MaxValue, which is enough, because it means that node is trying to update pivot for ~68 years before giving up. But making it really infinite would be nice.
Describe the solution you'd like
Refactor code to make infinite attempts to update pivot if MaxAttemptsToUpdatePivot is e.g. -1
Additional context Automatic pivot updates were introduced here: https://github.com/NethermindEth/nethermind/pull/5256 And changed to "infinite" here: https://github.com/NethermindEth/nethermind/pull/5988
i want to fix this issue. but when i cloned it started it in docker it was giving me issues.
@marcindsobczak we can close, right?
I am applying to this issue via OnlyDust platform.