Skip to content

Move Sidekiq worker weights to application code

Sean McGivern requested to merge add-weights-to-sidekiq-workers into master

What does this MR do?

As part of gitlab-com/gl-infra/scalability#26 (closed), also automate the generation of sidekiq_queues.yml.

The format has changed because Ruby's YAML dumping formats arrays in the multi-line form by default. According to https://ruby-doc.org/stdlib-2.6.3/libdoc/psych/rdoc/Psych.html, changing this is possible, but doesn't look straightforward enough to be worthwhile.

Note that these weights aren't used at all by GitLab.com: gitlab-com/gl-infra/scalability#26 (comment 273200300)

Edited by Sean McGivern

Merge request reports