Skip to content

check_status - causing too many connections #11

@pbubas

Description

@pbubas
def _check_status(self):
    if self.health != "green":
        log_msg = (
            f"Gotify service {self.url} health probblem: {self.health}"
        )
        LOG.warning(log_msg)
    else:
        log_msg = (
            f"Gotify service {self.url} health status: {self.health}"
        )
        LOG.debug(log_msg)

    if self.database != "green":
        log_msg = (
            f"Gotify service {self.url} database probblem: {self.database}"
        )
        LOG.warning(log_msg)
    else:
        log_msg = (
            f"Gotify service {self.url} database status: {self.database}"
        )
        LOG.debug(log_msg)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions