[RSS Feed/News] How long is $maxRunTime and can it be overridden?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
We've got and add-on to optimise images, and whilst you can specify a number of images to process per cron run of the main job - it max's out at around 200-380 images, regardless of how many more we put in the add-on's option.

Looking at the script it seems to be wrapped in public function run($maxRunTime) - so presumably, it is running for a specific amount of time and once it hits the time limit it stops foreach ($data as $contentType => $images) { if ($timer->limitExceeded()) {...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom