DB version : 188.8.131.52
I'm using an event-based job with parallel_instances attribute set to true.
It works perfectly fine, messages are enqueued then dequeued and processed simultaneously by separate instances of the same job.
Now, I'd like to limit the number of parallel instances of this job running at the same time, say to an arbitrary number n.
What would be the best way to do that?
Maybe using a notification callback is a better option in this case?
Thanks in advance for any input.