ActionScheduler_Abstract_QueueRunner::batch_limits_exceeded( int $processed_actions )

See if the batch limits have been exceeded, which is when memory usage is almost at the maximum limit, or the time to process more actions will exceed the max time limit.


Description Description

Based on WC_Background_Process::batch_limits_exceeded()


Parameters Parameters

$processed_actions

(Required) The number of actions processed so far - used to determine the likelihood of exceeding the time limit if processing another action


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.