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
Return Return
(bool)
Source Source
File: packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php