Hello - I would like to understand how scheduler w...
# ask-community
p
Hello - I would like to understand how scheduler works for the flow Lets say workflow is scheduled to trigger every 10mins i.e, T0, T10, T20, T30 etc... if the workflow that was triggered at T0 is executing (say processing large amounts of data) then what happens at T20? 1. Will prefect trigger the workflow again i.e, two workflow are inflight now or will skip the T20? 2. If it skips T20 then when will it try to trigger again? At T30, T40 etc or immediately after the first execution is complete?
n
hi @Parash - without any concurrency limits on the work pool or work queue, the deployment would be scheduled and executed when the next scheduled time comes up, even if a previous run of that deployment is still Running you can use concurrency limits or logic at the beginning of your flow to prevent overlappingi runs of a deployment if you want