Skip to content

Commit f34fd5c

Browse files
committed
MC-19646: [Magento Cloud] - Catalog Product Rule Indexer stuck
1 parent 51e17d4 commit f34fd5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/CatalogRule/Model/Indexer/IndexBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ protected function doReindexByIds($ids)
293293
/** @var Rule[] $activeRules */
294294
$activeRules = $this->getActiveRules()->getItems();
295295
foreach ($activeRules as $rule) {
296+
$rule->setProductsFilter($ids);
296297
$this->reindexRuleProduct->execute($rule, $this->batchCount);
297298
}
298299

0 commit comments

Comments
 (0)