[
https://issues.apache.org/jira/browse/SLING-11856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720196#comment-17720196
]
Carsten Ziegeler commented on SLING-11856:
------------------------------------------
this is a long time since I looked at this, but not resetting the active and
queued jobs was on purpose, as these are still in the system. Looking at your
patch, you see that you now have to check the counters for being greater than
zero - which really shouldn't be required.
So my first thought is that the current code is correct,
> Statistics for Sling Event Queue do not reset correctly
> -------------------------------------------------------
>
> Key: SLING-11856
> URL: https://issues.apache.org/jira/browse/SLING-11856
> Project: Sling
> Issue Type: Bug
> Components: Event
> Reporter: Roy Teeuwen
> Priority: Major
>
> When doing a reset on the statistics, the activeJobs and queuedJobs are not
> correctly reset.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)