Implement QueueWorker annotation "weight" key

Created on 24 May 2018, over 6 years ago
Updated 24 August 2023, about 1 year ago

Problem/Motivation

If the module defines few queue workers, there are no possibilities to manage an order of executing of queue workers during cron run. An order of executions may differ between different Drupal sites.

Proposed resolution

Add weight key in the queue worker annotation and handle it in the queue worker manager.

Remaining tasks

  1. Update annotation definition
  2. Update queue worker plugin manager
  3. Add tests

User interface changes

No changes

API changes

New key in annotation for QueueWorker definition.

Data model changes

no changes

✨ Feature request
Status

Closed: won't fix

Version

9.1

Component
CronΒ  β†’

Last updated 5 days ago

No maintainer
Created by

πŸ‡ΊπŸ‡¦Ukraine voleger Ukraine, Rivne

Live updates comments and jobs are added and updated live.
  • Needs subsystem maintainer review

    It is used to alert the maintainer(s) of a particular core subsystem that an issue significantly impacts their subsystem, and their signoff is needed (see the governance policy draft for more information). Also, if you use this tag, make sure the issue component is set to the correct subsystem. If an issue significantly impacts more than one subsystem, use needs framework manager review instead.

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.

Production build 0.71.5 2024