Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
queue_order
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
queue_order
Commits
7fa1172d
Commit
7fa1172d
authored
Mar 10, 2018
by
Oleh Vehera
Browse files
Options
Downloads
Patches
Plain Diff
Add readme file
parent
0382e78b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+32
-0
32 additions, 0 deletions
README.md
with
32 additions
and
0 deletions
README.md
0 → 100644
+
32
−
0
View file @
7fa1172d
# Queue Order
## Introduction
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.
## Config
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.
```
yaml
# 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
](
https://www.drupal.org/project/queue_order_ui
)
for development process.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment