Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for target block sync on endpoint health checks #1504

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

guplersaxanoid
Copy link
Contributor

No description provided.

if (
this.recordBlockHeight &&
this.currentProcessingHeight &&
this.recordBlockHeight !== this.currentProcessingHeight
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this.recordBlockHeight !== this.currentProcessingHeight
this.recordBlockHeight <= this.currentProcessingHeight

Copy link
Collaborator

@stwiname stwiname left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DeveloperInProgress have you tested this to see that health checks are improved?

@guplersaxanoid
Copy link
Contributor Author

@DeveloperInProgress have you tested this to see that health checks are improved?

Yes tested them, I don't get any health check errors after target height has been reached

@stwiname
Copy link
Collaborator

stwiname commented Mar 2, 2023

I think this was the actual problem subquery#39. This will be back ported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants