Hello community, Does anyone know how to remove a...
# ask-community
b
Hello community, Does anyone know how to remove an old agent in Prefect UI 1.0? No luck so far in the UI nor graphql. Seems like the old agent has been acting out and interrupting with the active agent as no flows are submitted.
m
We ran into a similar where what was happening is the request to delete the agent was timing out We resolved this by temporarily disabling the schedules on all of the flows based on a suggestion from a member of the prefect team i.e remove all future scheduled flow runs first and then attempt the agent delete, this way the query can run within the allotted timeout period
b
Thanks @Marwan Sarieddine for your suggestion, we have too many flows running in production that stopping the schedule is almost unfeasible. After looking at this issue, I wrote a ticket to prefect support and ask them to remove it as it is not urgent. https://github.com/PrefectHQ/prefect/issues/5216
👍 1