Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1864

Queue.resume() has no effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Event 3.0.0
    • Extensions
    • None

    Description

      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 ) {

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            tripod Tobias Bocanegra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: