Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency not launching when thread available #77

Open
cubewise-gng opened this issue Mar 15, 2024 · 1 comment
Open

Dependency not launching when thread available #77

cubewise-gng opened this issue Mar 15, 2024 · 1 comment

Comments

@cubewise-gng
Copy link
Contributor

cubewise-gng commented Mar 15, 2024

I have setup the task dependencies as below

id="1" predecessors="" require_predecessor_success="" instance="tm1serv" process="ProcessOne" pParam="A"
id="2" predecessors="1" require_predecessor_success="" instance="tm1serv" process="ProcessTwo"
id="3" predecessors="" require_predecessor_success="" instance="tm1serv" process="ProcessOne" pParam="B"
id="4" predecessors="3" require_predecessor_success="" instance="tm1serv" process="ProcessFour"

But noticed RushTI is not launching the dependent tasks when threads become available.
Instead it would wait for both tasks 1 and 3 to complete before launching 2 and 4.

I was expecting for an available thread to be utilised by 2 if 1 is complete, or 4 if 3 is complete. Whichever finishes first.

1 and 3 are both running the same process with different parameters, but they have different id so should be independent when referring to them as predecessors. But it seems to treat 1 and 3 as the same and wait for them altogether.

@MariusWirtz
Copy link
Collaborator

Correct. It is treated as one "level" in the code.
I believe this is the same request as in #30

@cubewise-gng
Please feel free to improve the creation and handling of the levels in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants