Skip to content

Commit 7e2bbd8

Browse files
committed
ACP2E-2504: [TMNA] Slow Query Investigation
1 parent 9c5d3e0 commit 7e2bbd8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Attribute/WebsiteAttributesSynchronizer.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ private function markSynchronized()
211211
private function synchronizeTable(string $tableName, int $storeId): void
212212
{
213213
foreach ($this->fetchAttributeValues($tableName, $storeId) as $attributeValueItems) {
214+
if (empty($attributeValueItems)) {
215+
continue;
216+
}
217+
214218
$this->processAttributeValues($attributeValueItems, $tableName, $storeId);
215219
}
216220
}

0 commit comments

Comments
 (0)