Add limit to job query
----------------------

                 Key: SLING-2037
                 URL: https://issues.apache.org/jira/browse/SLING-2037
             Project: Sling
          Issue Type: New Feature
          Components: Extensions
    Affects Versions: Extensions Event 3.0.2
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Extensions Event 3.0.4


The JobManager#queryJobs does not provide a limit. To reduce load on the 
manager, we should add an additional method with a limit parameter for use 
cases where only the first entries are of interest.
Though the query is done in memory at the moment, it will reduce the load with 
large queues and a low limit

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to