https://prefect.io logo
#prefect-community
Title
# prefect-community
p

Patrick Tan

12/20/2022, 7:13 PM
All, I want to delete 200+ flow run that are in pending state, I can filter them in UI. However, I am not able to 'select all' and delete all at once. I have to select one check box at a time. Any short cut ?
👀 1
k

Kalise Richmond

12/21/2022, 6:28 PM
Hi @Patrick Tan, you should be able to write a quick script that uses the read_flow_runs() api with a flow_run_filter for those runs in a pending state and then pass those into the delete_flow_run() api
👍 1
g

Gary

02/08/2023, 8:19 AM
Seek for select all feature in UI, too. 🙂 It will be very convenient for us to have select all in UI. Especially when there were many failed or late tasks due to our infra issue. Sometimes we have to manually delete many failed or late tasks after infra is back.
b

Brad

02/20/2023, 3:14 AM
+1
n

Netanel Malka

03/09/2023, 3:23 PM
Hi, Is there any configuration to limit the number of pending jobs? We are using Prefect V1, with JobFlow (k8s), and sometimes we reach to a job explosion because there are no resources on the cluster. All jobs on pending state. Thanks.
6 Views