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 caching health check #492

Closed
sleberknight opened this issue Jun 13, 2024 · 0 comments · Fixed by #505
Closed

Add a caching health check #492

sleberknight opened this issue Jun 13, 2024 · 0 comments · Fixed by #505
Labels
new feature A new feature such as a new class, method, package, group of classes, etc.
Milestone

Comments

@sleberknight
Copy link
Member

Add a health check that caches the result of another HealthCheck, which might be "expensive" to execute or take longer than a health check generally should.

The caching health check should:

  • "wrap" a HealthCheck
  • cache the result of the wrapped health check for a given expiration period
  • provide a default cache expiration or allow a custom period
@sleberknight sleberknight added the new feature A new feature such as a new class, method, package, group of classes, etc. label Jun 13, 2024
@sleberknight sleberknight added this to the 3.7.0 milestone Jun 18, 2024
sleberknight added a commit that referenced this issue Jun 24, 2024
* Add health check to check a URL
* Add a caching health check

Closes #491
Closes #492
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new feature such as a new class, method, package, group of classes, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant