in Tip

How Do You Prevent Tasks From Running On Hybris Commerce Front-End Storefront Nodes?

Answer

  1. Go to your local.properties file in the hybris/bin folder.
  2.  Enter the following: task.excluded.cluster.ids=1,2
    This entry will prevent nodes 1 and 2 (front-end nodes in my case) from processing tasks.

Additional Background

With OOTB Hybris Commerce, all nodes are eligible to process tasks from the task queue. In production, front-end storefront nodes should be configured to process customer traffic only, and not used to process backoffice tasks, which tend to require a significant amount of system resources at times.

Written By:

Marc is the Founder of HybrisArchitect.com. He enjoys helping others learn more about SAP Hybris Commerce. Marc has held the role of Hybris Architect at Exemplis and Nasty Gal. He is a long-time Java/Spring developer. Marc holds an M.S. Software Engineering from Carnegie Mellon University and a B.S. in Accountancy from California State University, Fresno. He can be reached at: info@hybrisarchitect.com

Add a Comment

Your email address will not be published. Required fields are marked *