Last active
November 27, 2021 22:57
-
-
Save harshvardhanmalpani/6528f80c117174a0edb615c93903842f to your computer and use it in GitHub Desktop.
Fixes batch size for Magento 2.2.4 and above. Put the file in app/code/[Vendor]/[Module]/etc/adminhtml/di.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> | |
<type name="Magento\Catalog\Model\Indexer\Category\Product\Action\Full"> | |
<arguments> | |
<argument name="batchRowsCount" xsi:type="number">1000</argument> | |
</arguments> | |
</type> | |
<type name="Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\BatchSizeCalculator"> | |
<arguments> | |
<argument name="batchRowsCount" xsi:type="array"> | |
<item name="configurable" xsi:type="number">500</item> | |
</argument> | |
</arguments> | |
</type> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This fixes the system.log error