Refactor cron queue processing into its own class

Created on 18 July 2019, about 5 years ago
Updated 13 May 2023, over 1 year ago

A recurring issue is that the Drush queue worker doesn't match the logic for queues processed by cron, leading to subtle bugs.

https://github.com/drush-ops/drush/issues/4032

Let's refactor queue processing out from the Cron class so it can be reused by other modules or Drush, without relying on cron itself.

Feature request
Status

Needs work

Version

10.1

Component
Cron 

Last updated 5 days ago

No maintainer
Created by

🇨🇦Canada deviantintegral

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States Mile23 Seattle, WA

    I suggest this should be more formally part of the Queue API (rather than cron), under Drupal\Core\Queue namespace and the service named queue.processor.

    Also +1 on #11.4.

Production build 0.71.5 2024