You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2011/01/24 12:59:50 UTC

[jira] Closed: (SLING-1864) Queue.resume() has no effect

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

Carsten Ziegeler closed SLING-1864.
-----------------------------------


> Queue.resume() has no effect
> ----------------------------
>
>                 Key: SLING-1864
>                 URL: https://issues.apache.org/jira/browse/SLING-1864
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>             Fix For: Extensions Event 3.0.0
>
>
> Queue.resume() has no effect although the eventing console show it is sleeping.
> bug in OrderedJobQueue:
>     @Override
>     public void resume() {
>         if ( this.isSleepingUntil == -1 ) {
>             final Thread thread = this.sleepingThread;
>             if ( thread != null ) {
>                 thread.interrupt();
>             }
>         }
>         super.resume();
>     }
> the first if should be:
> if ( this.isSleepingUntil != -1 ) {

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.