Thread
#prefect-community
    e

    Enda Peng

    8 months ago
    If I run two local agent with the same token and label (without local host name label), I will only see one agent on the dashboard. I have a question about this, when a flow comes, will prefect randomly assign to one agent?
    Kevin Kho

    Kevin Kho

    8 months ago
    Hi @Enda Peng, this is by design so that if an agent dies and you restart it, it shows up as the same one. Whatever agent pulls it first will grab it. There is no load balancing. For Cloud, there are locks in place to make sure that both agents don’t pull it
    e

    Enda Peng

    8 months ago
    cool, thx!