https://prefect.io logo
h

Hui Zheng

12/15/2020, 2:21 AM
Hello, Could someone explain more about
Version Locking
is it saying enforcing the assertion that a submitted/triggered flow run would run onceĀ and only once?
Copy code
<https://docs.prefect.io/orchestration/concepts/flows.html#toggle-version-locking>
j

Jim Crist-Harif

12/15/2020, 3:26 PM
Yes, this is correct. Since prefect flows run on your infrastructure (and various infrastructure backends can trigger restarts), we use version locking to ensure that only one version of your flow run is ever running at a time.
h

Hui Zheng

12/15/2020, 6:07 PM
Got it. Thank you. Is this flag turned on by default? If not, how do I enable it in my flow.register code?