Hi all,
i have a process executed by worker daemon (php artisan queue:work).
I set supervisor to run 4 simultaneous process. Every job can be mapped to a resource id. Is there a method to run a job only if there aren't other job related to the same resource id?
I mean, if Job 1 is running, the second Job must be related to a different resource_id to be executed. So if Job 2 is related to the same resource id of Job 1, it will be postponed to when Job 1 is complete, otherwise execute it.
Thank you
I have been using Gearman. It worked perfecly.
are you aware you're posting spam links ?
thenesta said:
I have been using Gearman. It worked perfecly.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community