Hello! what would be the recommended way to define...
# ask-community
p
Hello! what would be the recommended way to define a flow that runs on a schedule and of which we only want 1 instance running at any given time? This would be for the cases where a first flow run takes longer to run than the deployment schedule frequency. Is there a better approach than creating some sort of marker in storage that flow runs check at the beginning?
a
You can set a concurrency limit on the work queue used for the flow's deployment https://docs.prefect.io/concepts/work-pools/#work-pool-concurrency
p
thanks!