https://prefect.io logo
a

Avi A

05/31/2020, 2:18 PM
Core UI - how do I stop a running flow? I couldn’t find any reference to it, and the only way for me to do this right now is to hard kill the agent itself. Any way of doing so from the UI / CLI?
n

nicholas

05/31/2020, 3:02 PM
Hi @Avi A - this isn’t possible right now due to executor limitations but it’s something we’re actively working on!
a

Avi A

05/31/2020, 3:15 PM
Executor limitations? What if I use a Dask executor? Is there any way to tell Dask to die?
j

Jeremiah

05/31/2020, 3:28 PM
Hi Avi, you can achieve a soft cancellation by putting your flow run into a non-running state, which will prevent any new task runs from running
However, the problem of killing an actively running process is a difficult one to solve generally (though we are trying)
upvote 1
a

Avi A

06/01/2020, 6:36 AM
This is a good enough solution. I haven’t tried it b/c wasn’t sure that would be the outcome
Thanks @Jeremiah
👍 1