Update and fix comments related to usage of Action Scheduler in cron

[MAILPOET-4274]
This commit is contained in:
Rostislav Wolny
2022-07-21 11:13:23 +02:00
committed by Veljko V
parent d742164f21
commit 16807fe9e3
7 changed files with 11 additions and 13 deletions

View File

@@ -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();