action_scheduler_memory_exceeded, $memory_exceeded, $this

action_scheduler_memory_exceeded, $memory_exceeded, $this

Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.5.0.0.1

apply_filters('action_scheduler_memory_exceeded, $memory_exceeded, $this') is found 1 times:

  • /vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 360
    		$memory_limit    = $this->get_memory_limit() * 0.90;
    		$current_memory  = memory_get_usage( true );
    		$memory_exceeded = $current_memory >= $memory_limit;
    
    		return apply_filters( 'action_scheduler_memory_exceeded', $memory_exceeded, $this );
    	}
    
    	/**
    	 * 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.
    	 *