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

How to ensure that tasks of the same request can be prioritized for execution when initiating a batch of requests for a workflow with multiple tasks arranged in a chain, in order to avoid hunger. #810

Open
HarvestWu opened this issue May 28, 2024 · 0 comments

Comments

@HarvestWu
Copy link

How to ensure that tasks of the same request can be prioritized for execution when initiating a batch of requests for a workflow with multiple tasks arranged in a chain, in order to avoid hunger.

For example, a workflow contains two tasks, A and B, arranged in a chain structure, The concurrency of worker is set to 1. When 10 requests are made to this workflow, assuming that the first task to be executed is task A of request 1, how can we ensure that the next task to be executed is task B of request 1, rather than task A of other requests.

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

1 participant