Skip to content

Commit 17fbc07

Browse files
committed
MC-17583: Slow work resize images
1 parent 46d3df3 commit 17fbc07

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Catalog/Model/ResourceModel/Product

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Image.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ private function getUsedImagesSelect(): Select
158158
'value as filepath'
159159
)->joinInner(
160160
['image_value' => $this->resourceConnection->getTableName(Gallery::GALLERY_VALUE_TABLE)],
161-
'images.value_id = image_value.value_id'
161+
'images.value_id = image_value.value_id',
162+
[]
162163
)->where(
163164
'images.disabled = 0 AND image_value.disabled = 0'
164165
);

0 commit comments

Comments
 (0)