Allow selecting all queues with sidekiq-cluster
Because it was designed for selecting specific queues, sidekiq-cluster didn't have a convenient method to select all queues. As we want this to become the default sidekiq entry point for all GitLab installations, and the default is to handle all queues in a single process, we need that option. (This was possible before: using `--experimental-queue-selector`, you could ask for something like `has_external_dependencies=true,false`, but that's not obvious.) Instead of making `*` a wildcard anywhere, which would be more general, this commit just allows a single `*` in a queue group to represent all queues. While this is less general, it's also simpler to implement, and we can assume that YAGNI for the wildcards.
显示
- changelogs/unreleased/allow-selecting-all-queues-with-sidekiq-cluster.yml 5 个添加, 0 个删除...eased/allow-selecting-all-queues-with-sidekiq-cluster.yml
- doc/administration/operations/extra_sidekiq_processes.md 22 个添加, 2 个删除doc/administration/operations/extra_sidekiq_processes.md
- ee/lib/gitlab/sidekiq_cluster.rb 0 个添加, 4 个删除ee/lib/gitlab/sidekiq_cluster.rb
- ee/lib/gitlab/sidekiq_cluster/cli.rb 14 个添加, 10 个删除ee/lib/gitlab/sidekiq_cluster/cli.rb
- ee/spec/bin/sidekiq_cluster_spec.rb 31 个添加, 11 个删除ee/spec/bin/sidekiq_cluster_spec.rb
- ee/spec/lib/gitlab/sidekiq_cluster/cli_spec.rb 27 个添加, 0 个删除ee/spec/lib/gitlab/sidekiq_cluster/cli_spec.rb
- ee/spec/lib/gitlab/sidekiq_cluster_spec.rb 0 个添加, 7 个删除ee/spec/lib/gitlab/sidekiq_cluster_spec.rb
加载中
想要评论请 注册 或 登录