Skip to content

Commit 66d2586

Browse files
committed
use configured_eav_cache when EAV used
1 parent b941603 commit 66d2586

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/Catalog/etc

1 file changed

+5
-0
lines changed

app/code/Magento/Catalog/etc/di.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,11 @@
553553
<type name="Magento\Catalog\Model\ResourceModel\Config">
554554
<plugin name="productListingAttributesCaching" type="Magento\Catalog\Plugin\Model\ResourceModel\Config" />
555555
</type>
556+
<type name="Magento\Catalog\Plugin\Model\ResourceModel\Config">
557+
<arguments>
558+
<argument name="cache" xsi:type="object">configured_eav_cache</argument>
559+
</arguments>
560+
</type>
556561
<preference for="Magento\Catalog\Api\ProductLinkTypeListInterface" type="Magento\Catalog\Model\Product\LinkTypeProvider" />
557562
<preference for="Magento\Catalog\Api\Data\ProductLinkAttributeInterface" type="Magento\Catalog\Model\ProductLink\Attribute" />
558563
<preference for="Magento\Catalog\Api\Data\ProductLinkTypeInterface" type="Magento\Catalog\Model\ProductLink\Type" />

0 commit comments

Comments
 (0)