Overview ActionScheduler_FatalErrorMonitor tracks the currently executing action and detects unexpected fatal shutdowns. If a fatal error occurs, it marks the action as failed and releases the batch claim so another...
Overview Locks prevent concurrent or overly frequent operations that could overload the database or trigger duplicate runners. ActionScheduler_Lock defines the lock interface, and ActionScheduler_OptionLock is the default implementation. Lock lifecycle...
Goal The queue runner coordinates how pending actions are claimed, executed, and marked complete, while respecting time and memory limits. It also schedules cleanup work and handles recurring actions. Core...
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 to process actions when WP-Cron is delayed. When async requests...
Overview The queue runner processes actions in batches, balancing throughput with limits on time and memory. Batch size Batch size controls how many actions are claimed at once: Default: 25...
Overview ActionScheduler_QueueRunner integrates with WP-Cron by registering a custom schedule and a cron hook that runs the queue. Schedule and hook registration On ActionScheduler_QueueRunner::init(): Registers a schedule: Filter: cron_schedules Schedule...