[wp-trac] [WordPress Trac] #40441: High server resource usage and timeouts during image uploads

WordPress Trac noreply at wordpress.org
Fri Apr 14 12:21:50 UTC 2017


#40441: High server resource usage and timeouts during image uploads
-------------------------+------------------------------
 Reporter:  enshrined    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by enshrined):

 Apologies @blobfolio, I didn't know if the topic had been discussed in
 enough depth to make the assumption that a queue based system would be
 used. That said, I'm glad we both agree on that methodology.

 I see what you mean about the `multi_resize` function but I've personally
 not seen many themes or plugins re-instantiating the `WP_Image_Editor_*`
 classes, do you have any examples of why they may want to do this? As far
 as I can see, the only things this class can really do is resize, crop,
 rotate and flip. Resizing would surely be best handled through either
 defining an image size or using the `intermediate_image_sizes_advanced`
 filter? I suppose I'm just curious as to why a developer would want direct
 access to these specific classes.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40441#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list