Thread
#prefect-community
    m

    Matt Denno

    9 months ago
    Hi All, I have what I hope is a quick question. We are running prefect server and seem to have an issue with the Zombie Killer for a long running process. I want to set the heartbeat_mode to "thread". Looking here: https://docs.prefect.io/orchestration/concepts/services.html#heartbeat-configuration I see the following environment variable. Is this appropriate when running prefect server? Or just for Cloud?
    PREFECT__CLOUD__HEARTBEAT_MODE
    Or is there an equivalent env for server, like this:
    PREFECT__SERVER__HEARTBEAT_MODE
    Thanks, Matt
    Anna Geller

    Anna Geller

    9 months ago
    @Matt Denno you can use it in Server, too.
    m

    Matt Denno

    9 months ago
    Thanks Anna. Would it still be the cloud environment variable.
    PREFECT__CLOUD__HEARTBEAT_MODE
    Anna Geller

    Anna Geller

    9 months ago
    yes, that’s correct.
    m

    Matt Denno

    9 months ago
    Perfect! Thanks so much!