WordPress at a glance
filter is not described

action_scheduler_failure_period filter-hook . WC 1.0

Mark actions that have been running for more than a given time limit as failed, based on the assumption some uncatachable and unloggable fatal error occurred during processing.

When called by ActionScheduler_Abstract_QueueRunner::run_cleanup(), the time limit passed as a parameter is 10x the time limit used for queue processing.


add_filter( 'action_scheduler_failure_period', 'filter_function_name_9776' );
function filter_function_name_9776( $time_limit ){
	// filter...

	return $time_limit;
The number of seconds to allow an action to run before it is considered to have failed.
Default: 300 (5 minutes)

Where the hook is called

woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueCleaner.php 111
$timeout = apply_filters( 'action_scheduler_failure_period', $time_limit );

Where in WP core the hook is used WooCommerce

Usage not found.