You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2017/03/15 12:44:41 UTC

[jira] [Resolved] (SLING-6287) support maxparallel for main job queue to be -1 or between 0.0 and 1.0

     [ https://issues.apache.org/jira/browse/SLING-6287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Lietz resolved SLING-6287.
---------------------------------
    Resolution: Fixed

[r1787040|https://svn.apache.org/r1787040]

> support maxparallel for main job queue to be -1 or between 0.0 and 1.0
> ----------------------------------------------------------------------
>
>                 Key: SLING-6287
>                 URL: https://issues.apache.org/jira/browse/SLING-6287
>             Project: Sling
>          Issue Type: Improvement
>          Components: Event
>    Affects Versions: Event 4.2.0
>            Reporter: Stefan Egli
>            Assignee: Oliver Lietz
>            Priority: Minor
>             Fix For: Event 4.2.4
>
>         Attachments: SLING-6287.patch
>
>
> [Currently|https://github.com/apache/sling/blob/4eeb4593d6d9d43091ed1c5796746493724bfece/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/config/MainQueueConfiguration.java#L104] the main job queue converts doubles as {{maxparallel}} into the default (15), as well as it converts ints < 2 into 2. This is unlike other queues, which allow to set values to -1 or between 0.0 and 1.0 as maxparallel.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)