2016-10-21 16:13:41 +00:00
|
|
|
# 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]
|
2017-02-17 11:38:22 +00:00
|
|
|
- [process_commit, 3]
|
2016-10-21 16:13:41 +00:00
|
|
|
- [new_note, 2]
|
2017-08-01 12:38:45 +00:00
|
|
|
- [new_issue, 2]
|
|
|
|
- [new_merge_request, 2]
|
2016-10-21 16:13:41 +00:00
|
|
|
- [build, 2]
|
|
|
|
- [pipeline, 2]
|
2017-08-21 12:25:58 +00:00
|
|
|
- [pipeline_processing, 5]
|
2017-11-17 16:24:40 +00:00
|
|
|
- [pipeline_creation, 4]
|
2017-08-21 12:25:58 +00:00
|
|
|
- [pipeline_default, 3]
|
|
|
|
- [pipeline_cache, 3]
|
2017-08-21 12:02:20 +00:00
|
|
|
- [pipeline_hooks, 2]
|
2016-10-21 16:13:41 +00:00
|
|
|
- [gitlab_shell, 2]
|
|
|
|
- [email_receiver, 2]
|
|
|
|
- [emails_on_push, 2]
|
2016-10-22 05:28:39 +00:00
|
|
|
- [mailers, 2]
|
2017-06-22 12:18:01 +00:00
|
|
|
- [invalid_gpg_signature_update, 2]
|
2017-07-10 11:19:50 +00:00
|
|
|
- [create_gpg_signature, 2]
|
2017-02-22 19:25:06 +00:00
|
|
|
- [upload_checksum, 1]
|
2016-10-21 16:13:41 +00:00
|
|
|
- [repository_fork, 1]
|
|
|
|
- [repository_import, 1]
|
2017-10-13 16:50:36 +00:00
|
|
|
- [github_importer, 1]
|
|
|
|
- [github_importer_advance_stage, 1]
|
2016-10-21 16:13:41 +00:00
|
|
|
- [project_service, 1]
|
|
|
|
- [delete_user, 1]
|
2016-09-21 14:15:12 +00:00
|
|
|
- [delete_merged_branches, 1]
|
2016-10-11 12:25:17 +00:00
|
|
|
- [authorized_projects, 1]
|
2016-10-21 16:13:41 +00:00
|
|
|
- [expire_build_instance_artifacts, 1]
|
|
|
|
- [group_destroy, 1]
|
|
|
|
- [irker, 1]
|
2017-05-08 15:13:02 +00:00
|
|
|
- [namespaceless_project_destroy, 1]
|
2016-10-21 16:13:41 +00:00
|
|
|
- [project_cache, 1]
|
|
|
|
- [project_destroy, 1]
|
|
|
|
- [project_export, 1]
|
2017-04-27 10:08:57 +00:00
|
|
|
- [web_hook, 1]
|
2016-10-21 16:13:41 +00:00
|
|
|
- [repository_check, 1]
|
|
|
|
- [git_garbage_collect, 1]
|
2016-12-17 04:09:50 +00:00
|
|
|
- [reactive_caching, 1]
|
2016-10-21 16:13:41 +00:00
|
|
|
- [cronjob, 1]
|
|
|
|
- [default, 1]
|
2015-12-15 21:48:23 +00:00
|
|
|
- [pages, 1]
|
2017-03-07 12:59:20 +00:00
|
|
|
- [system_hook_push, 1]
|
2017-03-07 18:35:32 +00:00
|
|
|
- [update_user_activity, 1]
|
2017-05-05 16:01:33 +00:00
|
|
|
- [propagate_service_template, 1]
|
2017-06-02 15:12:36 +00:00
|
|
|
- [background_migration, 1]
|
2017-10-03 22:20:47 +00:00
|
|
|
- [gcp_cluster, 1]
|
2017-09-06 05:16:26 +00:00
|
|
|
- [project_migrate_hashed_storage, 1]
|
|
|
|
- [storage_migrator, 1]
|