action_scheduler_allow_async_request_runner

action_scheduler_allow_async_request_runner

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('action_scheduler_allow_async_request_runner') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php line 88
    		} else {
    			$allow = true;
    		}
    
    		return apply_filters( 'action_scheduler_allow_async_request_runner', $allow );
    	}
    
    	/**
    	 * Chaining async requests can crash MySQL. A brief sleep call in PHP prevents that.
    	 */
    	protected function get_sleep_seconds() {