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

adds healthcheck endpoint #308

Closed
wants to merge 1 commit into from
Closed

adds healthcheck endpoint #308

wants to merge 1 commit into from

Conversation

frabarz
Copy link
Contributor

@frabarz frabarz commented Feb 24, 2021

This PR adds a /healthcheck endpoint to the tesseract-server crate, and the needed logic for it to work. This includes access to a ping function for backends. The implementation is done for clickhouse and mysql, postgres is still on hold because the way is implemented is a bit confusing for me.
This PR also includes a check in the e2e test case.

Closes #307

adds ping method to backend on clickhouse and mysql, pg is still on hold
updates test case
Copy link
Collaborator

@hwchen hwchen left a comment

Choose a reason for hiding this comment

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

Looks good. Just trying to think if there's another way to do timeouts besides pulling tokio in. Perhaps it doesn't really matter, since timeout handling will need to be changed with the updating of dependencies anyways (tokio moved to a somewhat different strategy for exposing timeout API)

This pull request was closed.
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.

Create a /healthcheck endpoint
2 participants