Skip to content

Async Daemon HealthChecks with maxSameLagTime doesn't work #3462

Open
@rignatev

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions