Queue Runner
Queue Runner Overview
Goal The queue runner coordinates how pending actions are claimed, executed, and marked complete, while respecting time and memory limits....
Async HTTP Request Queue Runner
Overview ActionScheduler_AsyncRequest_QueueRunner extends WP_Async_Request to run the queue via a non-blocking HTTP request. This provides a fallback and a way...
Batch Processing
Overview The queue runner processes actions in batches, balancing throughput with limits on time and memory. Batch size Batch size...
WP-Cron Integration
Overview ActionScheduler_QueueRunner integrates with WP-Cron by registering a custom schedule and a cron hook that runs the queue. Schedule and...
Fatal Error Monitoring
Overview ActionScheduler_FatalErrorMonitor tracks the currently executing action and detects unexpected fatal shutdowns. If a fatal error occurs, it marks the...
Locking
Overview Locks prevent concurrent or overly frequent operations that could overload the database or trigger duplicate runners. ActionScheduler_Lock defines the...