Configure the batch size for the GetMappingsForIdFromDbCommand requests
Version:
The GetMappingsForIdFromDbCommand method fetches catalog mapping entries in batches. The batch size is configurable and is set to 20 by default: <getCatalogMappingsForIdsBatchSize>20</getCatalogMappingsForIdsBatchSize>.
To change the batch size of Sitecore IDs to fetch in a GetMappingsForIdFromDbCommand request:
-
In the
App_Config\Include\Y.Commerce.Engine\CustomCommerce\Custom.Commerce.Engine.Connect.configfile (or in your own patch file), in the<commerceEngineConfiguration>node, add a patch with the desired number of Sitecore Id's per batch, for example: