That would be following the model used by PHP's set_time_limit()
The reason I want this is as follows. I have a webserver that uses ImageMagick (through Imagick) to process images. For security and performance reasons, I don't make calls to ImageMagick/Imagick directly from the web-server, but instead have a background task that does the image processing.
Some pseudo-code for the background image processor looks like this:
Code: Select all
$endTime = now() + 3600;
while (time() < $endTime) {
$imageTask = waitForImageTask();
$imageProcessor->generateImage($imageTask);
}
cheers
Dan
Original discussion:
https://github.com/ImageMagick/ImageMag ... -177600827