Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Queue Order

Security covered Maintenance fixes only 191 sites

This module allows you to control the execution order of queue workers by assigning them a weight. This enables you to prioritize certain queue operations when they run via cron.

Get the additional advantage of Queue API of Drupal core.

πŸ‡ΊπŸ‡¦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and the safety of Europe.

This tiny module allows the control execution order of defined queue workers by the Cron handler.

It allows using weight value in QueueWorker annotation.

/**
 * Process a queue of media items to fetch their thumbnails.
 *
 * @QueueWorker(
 *   id = "custom_media_entity_thumbnail",
 *   title = @Translation("Custom thumbnail downloader"),
 *   cron = {"time" = 60},
 *   weight = -10
 * )
 */
class CustomThumbnailDownloader extends ThumbnailDownloader {}

To override the default weight value, use Queue UI module.

Drupal Core Feature request: #2975011: Implement QueueWorker annotation "weight" key

Drupal 10–11

Ask your assistant about Queue Order

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Feb 2023
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.1.6 Stable 10–11 Dec 24, 2025
2.1.5 Stable 10–11 Oct 9, 2024
2.1.4 Stable 10–11 Feb 16, 2024
2.1.3 Stable 10–11 Feb 16, 2024
2.1.2 Stable 10 Feb 16, 2023