Thread
#prefect-server
    AJ

    AJ

    11 months ago
    hi all, i have some doubts in local agents. 1.) Does the local agents stop running automatically after any certain period of time without job or it will run for 24*7 in the instance once started ? 2.) When will the local agent become stale? 3.) how to run the agent 24/7 ? Thanks.
    Anna Geller

    Anna Geller

    11 months ago
    Hi @AJ!1. The intention for agents is to run 24/7. But you would have to ensure that on your infrastructure. 2. The agent can be considered stale when it stops querying for flows. You can see it nicely in the UI, see the image below. 3. Some people use supervisord for that, or run the agent as Kubernetes Service or ECS service to ensure that it’s always up.