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


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.

Reply via email to