ActionScheduler_AsyncRequest_QueueRunner
Description Description
Source Source
File: packages/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php
Methods Methods
- __construct — Initiate new async request
- allow — Only allow async requests when needed.
- get_sleep_seconds — Chaining async requests can crash MySQL. A brief sleep call in PHP prevents that.
- handle — Handle async requests
- maybe_dispatch — If the async request runner is needed and allowed to run, dispatch a request.