action_scheduler_maximum_execution_time_likely_to_be_exceeded

action_scheduler_maximum_execution_time_likely_to_be_exceeded

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('action_scheduler_maximum_execution_time_likely_to_be_exceeded') is found 1 times:

  • /packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 308
    		$time_per_action       = $execution_time / $processed_actions;
    		$estimated_time        = $execution_time + ( $time_per_action * 3 );
    		$likely_to_be_exceeded = $estimated_time > $max_execution_time;
    
    		return apply_filters( 'action_scheduler_maximum_execution_time_likely_to_be_exceeded', $likely_to_be_exceeded, $this, $processed_actions, $execution_time, $max_execution_time );
    	}
    
    	/**
    	 * Get memory limit
    	 *
    	 * Based on WP_Background_Process::get_memory_limit()