Skip to content

change behavior of drainGracePeriod to be smoother for brief outages #37

Description

@sawall

Currently drainGracePeriod() causes a hard down if prosody is marked unhealthy due to a health check timeout. We should change this behavior to go into drain if a timeout is causing the issue with prosody.

drain currently kicks in if:

we've ever been healthy and
jicofo is unhealthy but otherwise all else is good and
the current time is less than window ending at first failure time + grace period

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions