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

Invalid Destination Worker configuration values are utilized

    Details

      Description

      Steps to Reproduce

      1. Navigate to Control Panel > Configuration > System Settings > Infrastructure > Destination Worker
      2. Add a new entry with the following values:

      • Destination Name: liferay/background_task
      • Worker Core Size: 50
      • Worker Maximum Size: 10

      3. Execute the following 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 Results
      Worker Core Size is 5 and Worker Maximum Size is 10.

      Actual Results
      Worker Core Size is 50 and Worker Maximum Size is 10.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              39 weeks, 6 days ago

                Packages

                Version Package
                7.2.10 DXP FP10
                7.2.10.4 DXP SP4
                7.2.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                7.3.X
                Master