-
-
Couldn't load subscription status.
- Fork 522
Open
Labels
Description
I have a multi-company setup with 5 companies,
and I’m running queue_job with the root channel, configured with root=1
Current Behavior:
When each company runs a job at the same time, I observe the following:
- queue1, company1 → started
- queue2, company1 → pending
- queue3, company2 → pending
- queue4, company3 → pending
- queue5, company4 → pending
- queue6, company5 → pending
As a result, queue6 has to wait until all previous jobs (1–5) are completed, even though they belong to different companies.
Desired Behavior:
I want each company to be able to run one job at a time independently, like this:
- queue1, company1 → started
- queue2, company1 → pending
- queue3, company2 → started
- queue4, company3 → started
- queue5, company4 → started
- queue6, company5 → started
Question:
Is it possible to configure queue_job to run one concurrent job per company (instead of globally queuing everything under the root channel)?
Or is there a recommended way to isolate queues by company?