sidekiq_queues.yml 2.0 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
# This configuration file should be exclusively used to set queue settings for
# Sidekiq. Any other setting should be specified using the Sidekiq CLI or the
# Sidekiq Ruby API (see config/initializers/sidekiq.rb).
---
# All the queues to process and their weights. Every queue _must_ have a weight
# defined.
#
# The available weights are as follows
#
# 1: low priority
# 2: medium priority
# 3: high priority
# 5: _super_ high priority, this should only be used for _very_ important queues
#
# As per http://stackoverflow.com/a/21241357/290102 the formula for calculating
# the likelihood of a job being popped off a queue (given all queues have work
# to perform) is:
#
#     chance = (queue weight / total weight of all queues) * 100
:queues:
  - [post_receive, 5]
  - [merge, 5]
  - [update_merge_requests, 3]
24
  - [process_commit, 3]
25
  - [new_note, 2]
26 27
  - [new_issue, 2]
  - [new_merge_request, 2]
28
  - [pipeline_processing, 5]
29
  - [pipeline_creation, 4]
30 31
  - [pipeline_default, 3]
  - [pipeline_cache, 3]
32
  - [pipeline_hooks, 2]
33 34 35
  - [gitlab_shell, 2]
  - [email_receiver, 2]
  - [emails_on_push, 2]
36
  - [mailers, 2]
37
  - [invalid_gpg_signature_update, 2]
A
Alexis Reigel 已提交
38
  - [create_gpg_signature, 2]
D
Douwe Maan 已提交
39
  - [rebase, 2]
40
  - [upload_checksum, 1]
41 42
  - [repository_fork, 1]
  - [repository_import, 1]
43
  - [github_importer, 1]
D
Douwe Maan 已提交
44
  - [github_import_advance_stage, 1]
45 46
  - [project_service, 1]
  - [delete_user, 1]
47
  - [delete_merged_branches, 1]
48
  - [authorized_projects, 1]
49 50 51
  - [expire_build_instance_artifacts, 1]
  - [group_destroy, 1]
  - [irker, 1]
52
  - [namespaceless_project_destroy, 1]
53 54 55
  - [project_cache, 1]
  - [project_destroy, 1]
  - [project_export, 1]
A
Alexander Randa 已提交
56
  - [web_hook, 1]
57 58
  - [repository_check, 1]
  - [git_garbage_collect, 1]
59
  - [reactive_caching, 1]
60 61
  - [cronjob, 1]
  - [default, 1]
K
Kamil Trzcinski 已提交
62
  - [pages, 1]
63
  - [system_hook_push, 1]
64
  - [update_user_activity, 1]
J
James Lopez 已提交
65
  - [propagate_service_template, 1]
66
  - [background_migration, 1]
67
  - [gcp_cluster, 1]
68 69
  - [project_migrate_hashed_storage, 1]
  - [storage_migrator, 1]
70
  - [pages_domain_verification, 1]