We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 417dd77 commit 3121dfeCopy full SHA for 3121dfe
app/code/Magento/Indexer/Model/Indexer/CacheCleaner.php
@@ -90,6 +90,9 @@ public function afterExecuteRow(ActionInterface $subject)
90
*/
91
private function cleanCache()
92
{
93
- $this->eventManager->dispatch('clean_cache_by_tags', ['object' => $this->cacheContext]);
+ $identities = $this->cacheContext->getIdentities();
94
+ if (!empty($identities)) {
95
+ $this->appCache->clean($identities);
96
+ }
97
}
98
0 commit comments