Shared maxForks=1 for a group of processes #3293
Unanswered
kwonsoobin
asked this question in
Q&A
Replies: 1 comment
-
One solution would be to add toList and flatMap between B and C. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there anyway to define a shared maxForks for multiple processes?
I have a pipeline of
input | A | B | C | D
. I want exactly one process instance to run at a time forB
andC
. For example, ifC
is running, I do not wantB
to run even if the input is different.A
andD
can run whenever.I tried assigning the same label to
B
andC
and then settingmaxForks
to 1 for that label in my config file as shown below. This seems to setmaxForks
to 1 for each process and not for both processes combined.Any suggestions? I don't think I can define maxForks or queueSize for a workflow. My last resort would be combine
B
andC
into one process, which I want to avoid.Beta Was this translation helpful? Give feedback.
All reactions