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

Feature Request: Add healthcheck endpoint (eg /health) for rosetta gateway #208

Open
Karmastic opened this issue May 14, 2021 · 0 comments

Comments

@Karmastic
Copy link

For high availability, it's necessary to have a healthcheck endpoint. I worked around this by writing a service that queries NetworkStatus and returns 200 if CurrentBlockTimestamp > 0 and len(peers) > 0. You're free to come up with your own definition of 'healthy'.

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

No branches or pull requests

1 participant