Job concurrency & parameters

Hi everyone,

I would like to know if it is possible to disable concurrent execution in a partitioned manner (e.g. with a parameter value).

For example, Having a job with a category as an integer (dynamic).
This would mean having only one job of its kind to run with “category1” (if more coming, they are queued), but a job with “category2” would just run straight as it is the first one to come.
Can this be achieved using queues?

Cheers,
Ben

1 Like

Did you find any solution to this problem?

Seems not possible with the free version.
With Ace version you may have access to Mutex, Semaphore : https://docs.hangfire.io/en/latest/background-processing/throttling.html#mutexes

I’m still interested for a free solution…