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 max_delay_secs to /health endpoint #59

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

digizeph
Copy link
Member

databases with longer than max_delay_secs delay in seconds will return a 503 error code. this behavior is enabled by adding ?max_delay_secs=3600 (change 3600 to any number in secs desired) to /health endpoint.

Example: allowing at most one hour of data freshness delay by setting checking /health?max_delay_secs=3600.

This resolves #58

databases with longer than `max_delay_secs` delay in seconds will return a 503 error code. this behavior is enabled by adding `?max_delay_secs=3600` (change 3600 to any number in secs desired) to `/health` endpoint.

Example: allowing at most one hour of data freshness delay by setting checking `/health?max_delay_secs=3600`.
@digizeph digizeph merged commit a1324aa into main Aug 22, 2024
1 check passed
@digizeph digizeph deleted the feature/improved-health-endpoint branch September 2, 2024 03:09
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.

improve health checkup to check for data delays
1 participant