pimcore / data-hub

Data delivery & consumption platform for Pimcore.
Other
127 stars 108 forks source link

[Feature]: Thumbnail generation to slow #857

Open yvess opened 6 months ago

yvess commented 6 months ago

Feature description

When I do a graphql request for an data object with new images >10 and request thumbnail generation, than I get an HTML error response "Network error: 500: Unexpected token P in JSON at position 0" this is a HTML Pimcore Error, because the thumbnail generation takes to long (2-3min and then the error comes in).

When I do the request a few times, all thumbnails are generated and the request passes.

I see that only one process is used for thumbnail generation, I think because of this sequential generation it takes way too long.

For thumbnail generation in the console you can specify how many processes it should use. Something similar would be great for graphql via datahub as well, e.g. in the datahub configuration.

Issue #514 could also be a solution for this problem, but perhaps harder to build

github-actions[bot] commented 5 months ago

Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.