[
https://issues.apache.org/jira/browse/SLING-5884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789277#comment-17789277
]
Patrique Legault commented on SLING-5884:
-----------------------------------------
Since Sling Jobs are used in various parts of the system it and many users do
not clean /var this can lead to poor query performance and slow results.
Removing the ability to query for all jobs in the system and only query for a
subset of them would be a quick and easy optimization for now.
> Deprecate JobManager methods which allow to manage the queue
> ------------------------------------------------------------
>
> Key: SLING-5884
> URL: https://issues.apache.org/jira/browse/SLING-5884
> Project: Sling
> Issue Type: Task
> Components: Extensions
> Affects Versions: Event 4.0.2
> Reporter: Timothee Maret
> Assignee: Stefan Egli
> Priority: Major
> Fix For: Event API 1.1.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The {{JobManager}} contains methods which allow to manage the entries in the
> queue. Those methods such as {{o.a.s.e.j.JobManager#findJobs}} impose a heavy
> burden on the repository and can cause major runtime issues such as running
> the instance OOM.
> This issue tracks deprecating those API signatures.
> See also http://sling.markmail.org/message/k3hjqcvnnabsb47j
--
This message was sent by Atlassian Jira
(v8.20.10#820010)