Skip to content
Snippets Groups Projects
voleger's avatar
Oleh Vehera authored
57febc60
History
Name Last commit Last update
config/schema
src
README.md
queue_order.info.yml

INTRODUCTION

Queue Order

This is the module that provide functionality of sorting queue workers definitions. That causes an effect on queue execution order during cron run.

API

No API.

REQUIREMENTS

Supported version of the Drupal core.

INSTALLATION

Install as the usual module. Nothing specific.

CONFIGURATION

All weight values of queue workers stored in order property of queue_order.settings config object. It contains key - value array, where key is the id of queue worker, value - the weight value.

# Example of `queue_order.settings` config object:
order:
  queue_worker_1: 0
  queue_worker_2: -1
  queue_worker_3: 1
  queue_worker_4: 2

UI

This module provide functionality without any admin UI. It should be useful on production. Use Queue Order UI for development process.