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

Fix #40: Add a health check #41

Merged
merged 4 commits into from
Jun 23, 2020
Merged

Fix #40: Add a health check #41

merged 4 commits into from
Jun 23, 2020

Conversation

jcjones
Copy link
Owner

@jcjones jcjones commented Jun 22, 2020

This is for mozilla/crlite#55 and fixes #40 .

Adds a liveness check at a configurable port, default :8080, which returns 200 OK if entries were obtained within 2 * the configured Polling Delay Mean and returns 500 otherwise.

@jcjones jcjones self-assigned this Jun 22, 2020
@jcjones jcjones linked an issue Jun 22, 2020 that may be closed by this pull request
@jcjones jcjones marked this pull request as ready for review June 22, 2020 23:32
@jcjones jcjones merged commit 2b0680e into main Jun 23, 2020
jcjones added a commit that referenced this pull request Jun 23, 2020
This changes the health check from #41 from a database-check to a local
timestamp updated by all the CT downloader threads.
jcjones added a commit that referenced this pull request Jun 23, 2020
jcjones added a commit that referenced this pull request Jun 23, 2020
jcjones added a commit that referenced this pull request Jun 23, 2020
This changes the health check from #41 from a database-check to a local
timestamp updated by all the CT downloader threads.
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.

ct-fetch should expose a liveness endpoint
1 participant