Hi,
if I read the code in JobQueueImpl correctly even for ordered queues there are 
at most <queue.maxparallel> jobs being executed in parallel 
(https://github.com/apache/sling/blob/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/JobQueueImpl.java#L197
 
<https://github.com/apache/sling/blob/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/JobQueueImpl.java#L197>).
Only for the retry handling there seems to be a difference: 
https://github.com/apache/sling/blob/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/JobQueueImpl.java#L670
 
<https://github.com/apache/sling/blob/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/JobQueueImpl.java#L670>
So I am wondering if configuring a Job Queue with Type = Ordered and 
queue.maxparallel > 1 leads to parallel job execution (rather than strict 
sequential)

Is this a bug in the code or what effects has queue.maxparallel for ordered 
queues otherwise?
Thanks,
Konrad

Reply via email to