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(healthcheck) lower the cleanup check frequency #116

Merged
merged 1 commit into from
Jul 7, 2022

Commits on Jul 7, 2022

  1. fix(healthcheck) lower the cleanup check frequency

    the health-check timer also checks if targets must be removed. to
    safely remove targets, the targets list is locked. if this check runs
    on every health-check cycle and there are a large number of targets, a
    bazillion locks will be created. this change avoids that by lowering
    the frequency the cleanup list is checked.
    
    the side-effect is that targets marked for cleanup may exist for more
    time (2.5s) than expected, and some unexpected active checks could
    happen.
    locao committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    ed75cf6 View commit details
    Browse the repository at this point in the history