Update and fix comments related to usage of Action Scheduler in cron
[MAILPOET-4274]
This commit is contained in:
committed by
Veljko V
parent
d742164f21
commit
16807fe9e3
@@ -40,9 +40,6 @@ class RemoteExecutorHandler {
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is triggered via an ajax request.
|
||||
*/
|
||||
public function runActionScheduler(): void {
|
||||
$this->wp->addFilter('action_scheduler_queue_runner_concurrent_batches', [$this, 'ensureConcurrency']);
|
||||
\ActionScheduler_QueueRunner::instance()->run();
|
||||
|
Reference in New Issue
Block a user