Prevent overlap between multiple tasks #350
Replies: 1 comment 2 replies
-
Yes, the intent is to prevent overlapping on 1 invocable. What would end up happening depends on when and how long each task runs. In the scenario you laid out the following would occur:
You'd have to come up with your own way to lock both tasks - either a semaphore, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From reading the docs on PreventOverlapping, it sounds like the functionality is more targeted towards preventing a specific task from running concurrently. In my situation, I want to prevent two tasks from running concurrently in regards to itself and the other tasks, if that makes sense. So at any one time there should be only 1 task running 1 instance of said task.
Given the scenario, if I share the same key for
PreventOverlapping
, would this work or is the scheduler not designed to work in this way?For example:
Beta Was this translation helpful? Give feedback.
All reactions