-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
services/horizon/ingest: verifyState improvements (#3251)
This commit adds improvements to `system.verifyState`: * Improves waiting time for checkpoint publish. Before this commit, it always waited for 40 seconds. In the new code it checks if checkpoint was published every 5 seconds for a minute. * State verifier duration is measured from the moment checkpoint is read instead of when waiting starts. * Split `defer`ed function into separate functions and moved near the code connected to `defer` statement.
- Loading branch information
Showing
2 changed files
with
53 additions
and
37 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
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