Skip to content

Commit 6464c6d

Browse files
committed
MC-42892: [Performance] Product image resize function onsave taking long time when saving product images in admin panel
1 parent 066e31c commit 6464c6d

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/Catalog/etc

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,4 +1328,9 @@
13281328
<plugin name="remove_images_from_gallery_after_removing_product"
13291329
type="Magento\Catalog\Plugin\RemoveImagesFromGalleryAfterRemovingProduct"/>
13301330
</type>
1331+
<type name="Magento\Catalog\Observer\ImageResizeAfterProductSave">
1332+
<arguments>
1333+
<argument name="imageResizeScheduler" xsi:type="object">Magento\MediaStorage\Service\ImageResizeScheduler\Proxy</argument>
1334+
</arguments>
1335+
</type>
13311336
</config>

0 commit comments

Comments
 (0)