-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make wait_for_restart_window() aware of Incremental Snapshots (#19587)
When the validator is waiting to restart, the snapshot slot is checked. With Incremental Snapshots, the full snapshot interval is going to be _much_ higher, which would make this function wait for a looooong time. So, if there's an incremental snapshot slot when checking, use that slot, otherwise fall back to the full snapshot slot.
- Loading branch information
1 parent
7ab0aec
commit fb1b853
Showing
1 changed file
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters