On my application I have 25 workers that are randomly used by different users' actions.
Only one simultaneous (active / busy) work is allowed by each user.
It can't be blocked on the controller because the idea is not to block the action creation. Actions need to be created but hold in line till all previos requests by the same user are processed and only after that a worker will be (re)-assigned for the same user.
If another user, in the meantime, requests a job creation, it should start instantly if at least one of the 24 remaining workers are available.
Is there any way to look for the queue line and use its parameters to build the processing condition?
Thanks