Skip to content
Snippets Groups Projects
Select Git revision
  • 3224274-stable-sorting-in
  • 2.0.x default
  • 8.x-1.x
  • previous/3224274-stable-sorting-in/2021-10-14
  • 2.0.1
  • 2.0.0
  • 8.x-1.1
  • 8.x-1.0
  • 8.x-1.0-rc5
  • 8.x-1.0-rc4
  • 8.x-1.0-rc3
  • 8.x-1.0-rc2
  • 8.x-1.0-rc1
  • 8.x-1.0-alpha1
14 results

queue_order-3224274

  • Clone with SSH
  • Clone with HTTPS
  • Forked from project / queue_order
    14 commits behind, 1 commit ahead of the upstream repository.

    CONTENTS OF THIS FILE

    • Introduction
    • Requirements
    • Installation
    • Configuration
    • Maintainers

    INTRODUCTION

    This is the module that provide functionality of sorting queue workers definitions. That causes an effect on queue execution order during cron run. Get the additional advantage of Queue API of Drupal core. This tiny module allows control execution order of defined queue workers by the Cron handler.

    REQUIREMENTS

    This module requires no modules outside of Drupal core. A supported version of the Drupal core.

    INSTALLATION

    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 provides functionality without any admin UI. It should be useful on production. Use Queue UI for development needs.

    MAINTAINERS

    Supporting organization:

    GOLEMS GABB is a team of experienced developers! Our work includes strategy, design, and development across a variety of industries.