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

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            jonathan.mccann Jonathan McCann
            Participants of an Issue:
            Recent user:
            Zendesk for JIRA
            Engineering Assignee:
            Jonathan McCann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 40 weeks, 3 days ago

                Packages

                Version Package
                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