Skip to content

Commit 37a34dd

Browse files
MAGETWO-65388: Indexation process in non-locking way for stock indexer
1 parent 3817826 commit 37a34dd

File tree

1 file changed

+1
-5
lines changed
  • app/code/Magento/CatalogSearch/etc

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@
206206
<arguments>
207207
<argument name="range" xsi:type="object">Magento\Catalog\Model\Layer\Filter\Price\Range\Proxy</argument>
208208
<argument name="indexerFrontendResource" xsi:type="object">Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\FrontendResource</argument>
209+
<argument name="indexerStockFrontendResource" xsi:type="object">Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\FrontendResource</argument>
209210
</arguments>
210211
<plugin name="categoryIdAggregation" type="Magento\CatalogSearch\Model\Adapter\Mysql\Plugin\Aggregation\Category\DataProvider" />
211212
</type>
@@ -290,11 +291,6 @@
290291
<argument name="indexerFrontendResource" xsi:type="object">Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\FrontendResource</argument>
291292
</arguments>
292293
</type>
293-
<type name="Magento\CatalogSearch\Model\Adapter\Mysql\Aggregation\DataProvider">
294-
<arguments>
295-
<argument name="indexerStockFrontendResource" xsi:type="object">Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\FrontendResource</argument>
296-
</arguments>
297-
</type>
298294
<type name="Magento\CatalogSearch\Model\Search\FilterMapper\TermDropdownStrategy">
299295
<arguments>
300296
<argument name="indexerStockFrontendResource" xsi:type="object">Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\FrontendResource</argument>

0 commit comments

Comments
 (0)