[wp-trac] [WordPress Trac] #52569: Don't let PHP timeout in the middle of an ImageMagick operation
WordPress Trac
noreply at wordpress.org
Wed Feb 15 21:30:34 UTC 2023
#52569: Don't let PHP timeout in the middle of an ImageMagick operation
--------------------------+---------------------
Reporter: drzraf | Owner: antpb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.2
Component: Media | Version: 5.6.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Changes (by antpb):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"55348" 55348]:
{{{
#!CommitTicketReference repository="" revision="55348"
Media: Add `setImagickTimeLimit()` function to avoid timeout in Imagick
operations.
Previously, Imagick operations could silently error by timeout and produce
unexpected results. The new `setImagickTimeLimit()` function will better
handle garbage collection in these cases as well as better align Imagick's
timeout with PHP timeout, assuming it is set.
Props drzraf, audrasjb, costdev.
Fixes #52569.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52569#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list