ActionScheduler_AsyncRequest_QueueRunner

ActionScheduler_AsyncRequest_QueueRunner class.


Description Description


Source Source

File: packages/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php


			


Top ↑

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.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.