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

add a periodic predicate health check #276

Closed
rafaelcr opened this issue Oct 15, 2024 · 0 comments · Fixed by #280
Closed

add a periodic predicate health check #276

rafaelcr opened this issue Oct 15, 2024 · 0 comments · Fixed by #280
Assignees
Labels
feature request New feature or request

Comments

@rafaelcr
Copy link
Collaborator

For unknown reasons, sometimes the api falls out of sync with chainhook chain tip. This means the predicate gets cancelled or something else happens that makes the API not receive any blocks. To fix this, we should have a periodic health check on the API that (after a timer) checks the status of the predicate with chainhook, and if it comes unhealthy then it just re-registers it to go back to the chain tip.

@rafaelcr rafaelcr added the feature request New feature or request label Oct 15, 2024
@rafaelcr rafaelcr self-assigned this Oct 15, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in API Board Oct 15, 2024
@rafaelcr rafaelcr moved this from 🆕 New to 🏗 In Progress in API Board Oct 21, 2024
@rafaelcr rafaelcr linked a pull request Oct 22, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from 🏗 In Progress to ✅ Done in API Board Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant