Hi all, is there a way I can specify a task to run only once within a flow? I have noticed some of my tasks run concurrently, this is an issue when I am writing to a table
✅ 1
a
Anna Geller
06/13/2022, 11:31 AM
Sure, this is what concurrency limits are for
Anna Geller
06/13/2022, 11:32 AM
you can set a limit of 1 to only allow one active flow run of a given flow
Anna Geller
06/13/2022, 11:32 AM
(or one active task run with a given tag)
Anna Geller
06/13/2022, 11:33 AM
and to ensure your tasks run sequentially, you can use SequentialTaskRunner in Prefect 2.0 and LocalExecutor in Prefect 1.0
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.