[
https://issues.apache.org/jira/browse/SLING-6823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-6823.
-------------------------------------
Resolution: Fixed
Assignee: Carsten Ziegeler
Adjusted in rev 1793757
> Use Timer instead of scheduler for delayed execution
> ----------------------------------------------------
>
> Key: SLING-6823
> URL: https://issues.apache.org/jira/browse/SLING-6823
> Project: Sling
> Issue Type: Improvement
> Components: Event
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Event 4.2.4
>
>
> Currently, the scheduler is used in some places to delay some execution. As
> this execution is intended to be run at the delayed time, it is not optimal
> to rely on the scheduler, especially as the scheduler is resource constraint
> (by its pool).
> We could simply use java's Timer for this. Affected classes are:
> JobManagerConfiguration (2 occurences)
> JobQueueImpl (1 occurence)
> We can then also remove the scheduler from QueueServices
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)