-
|
I created an event A with a target group and algorithm: random and the limits of: max jobs: 1, max queue: 0 and max retries: 0 Next I created a workflow A which runs on a daily schedule with the limits of: max jobs: 1, max queue: 0 and max retries: 0. I then added a multiplexer with a stagger delay of 30 seconds, so the jobs don't all start at the same time. The multiplexer then attaches to event A, but has two limiters attached: max jobs: 5 and max queue: 10. Now the last time workflow A ran, one of the jobs took longer then 30 seconds and when the next one started staggered I got the error of:
I am now wondering what I did wrong and which settings to correct. I assumed the limiters attached to the event in the workflow would override the limiters of the event? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Ah, sorry for the confusion. Here is the explanation: When you assign a limit to an event, that limit is ALWAYS going to be there, even if you use the event in a workflow. All limits come "in tow" with their respective events into workflows. When you attach limit nodes to event nodes in a workflow, those are APPENDED to the list of limits for that event. Same with action nodes (they append to any actions already assigned to the event). Also note that events can automatically inherit limits and actions from their assigned categories, and those come in tow as well. So in your case, the limit that triggers first takes precedence (i.e. your max jobs of 1 assigned to event A). This applies even in a workflow. I cover this in my latest video, if you are interested in watching: https://www.youtube.com/watch?v=UVq6fo0njh0 I will work on somehow making this more clear in the UI. |
Beta Was this translation helpful? Give feedback.
Ah, sorry for the confusion. Here is the explanation:
When you assign a limit to an event, that limit is ALWAYS going to be there, even if you use the event in a workflow. All limits come "in tow" with their respective events into workflows.
When you attach limit nodes to event nodes in a workflow, those are APPENDED to the list of limits for that event. Same with action nodes (they append to any actions already assigned to the event).
Also note that events can automatically inherit limits and actions from their assigned categories, and those come in tow as well.
So in your case, the limit that triggers first takes precedence (i.e. your max jobs of 1 assigned to event A). This applies eve…