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.9.7.1

apply_filters('action_scheduler_allow_async_request_runner') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php line 84
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
        } 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() {