Skip to content
Snippets Groups Projects

Issue #1875020: Cron queue gets processed every time cron is called, regardless of whether it's already being processed elsewhere

Open Issue #1875020: Cron queue gets processed every time cron is called, regardless of whether it's already being processed elsewhere
Open pmagunia requested to merge issue/drupal-1875020:1875020-cron-queue-gets into 9.4.x
1 file
+ 4
3
Compare changes
  • Side-by-side
  • Inline
@@ -134,6 +134,10 @@ public function run() {
}
else {
$this->invokeCronHandlers();
// Process cron queues.
$this->processQueues();
$this->setCronLastTime();
// Release cron lock.
@@ -143,9 +147,6 @@ public function run() {
$return = TRUE;
}
// Process cron queues.
$this->processQueues();
// Restore the user.
$this->accountSwitcher->switchBack();
Loading