Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-108986

Destination Worker configuration changes do not take effect

Details

    Description

      Steps to reproduce

      1. Go to Control Panel -> Configuration -> System Settings -> Infrastructure -> Destination Worker
      2. Add a new entry with the values:
        Destination Name: liferay/background_task
        Worker Core Size: 1
        Worker Maximum Size: 2
      3. Go to Control Panel -> Configuration -> Server Administration -> Scripts and run the following Groovy Script
        import com.liferay.portal.kernel.messaging.MessageBusUtil;
        
        destination = MessageBusUtil.getDestination("liferay/background_task");
        
        out.println("Worker Core Size: " + destination.getWorkersCoreSize());
        out.println("Worker Maximum Size: " + destination.getWorkersMaxSize());
        

      Expected Output:
      Worker Core Size: 1
      Worker Maximum Size: 2

      Actual Output:
      Worker Core Size: 5
      Worker Maximum Size: 10

      Attachments

        Issue Links

          Activity

            People

              summer.zhang Summer Zhang
              jonathan.mccann Jonathan McCann
              Enterprise Release HU Enterprise Release HU
              Jonathan McCann Jonathan McCann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 14 weeks, 5 days ago

                Packages

                  Version Package
                  7.0.X
                  7.1.X
                  7.2.10 DXP FP5
                  7.2.10.2 DXP SP2
                  7.2.X
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  7.3.10 DXP GA1
                  Master