You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
When Ergonode is building products & synchronising product images, it downloads remotely whole image content. The content is not used at all, but it takes a lot of time to download the image through API (10sec/image in our case).
Bug type
Architecture
Current behavior
When Ergonode is building products & synchronising product images, it downloads remotely whole image content. The content is not used at all, but it takes a lot of time to download the image through API (10sec/image in our case).
Input Code
https://github.com/ergonode/exporter-shopware-6-backend/blob/main/src/Infrastructure/Client/Shopware6ProductMediaClient.php#L150
Expected behavior
Do not download image through API. Ergonode as PIM should be a source of truth, we should not care about the content of image on remote server.
Possible Solution
When sending GET request to remote server, all we need to verify is whether response is successful & not empty. We should ignore the content of image.
Environment
cc @wfajczyk @piotrkreft
The text was updated successfully, but these errors were encountered: