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

Async Daemon HealthChecks with maxSameLagTime doesn't work #3462

Open
rignatev opened this issue Oct 8, 2024 · 0 comments
Open

Async Daemon HealthChecks with maxSameLagTime doesn't work #3462

rignatev opened this issue Oct 8, 2024 · 0 comments
Labels
Milestone

Comments

@rignatev
Copy link

rignatev commented Oct 8, 2024

HealthChecks with settings from example https://martendb.io/events/projections/healthchecks#example-configuration-1 (maxSameLagTime > 0) always return healthy.

Every health request creates a new instance of AsyncDaemonHealthCheckExtensions.AsyncDaemonHealthCheck, so the previous value of _lastProjectionsChecks is not awailable

Marten.AspNetCore, Version=7.29.0

@jeremydmiller jeremydmiller added this to the Marten 8.0 milestone Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants