diff options
author | Hossein Pursultani <hpursultani@gitlab.com> | 2019-04-26 16:20:20 +1000 |
---|---|---|
committer | Hossein Pursultani <hpursultani@gitlab.com> | 2019-04-29 10:32:33 +1000 |
commit | 6229a458519e246694d277a89e9a5e3fea0adb9f (patch) | |
tree | dfb57da1d5262967702a2d0bf0d3120d3ea04d87 /lib | |
parent | c4340c652beee10bf840f2a9ad52208715fcd085 (diff) | |
download | gitlab-ce-6229a458519e246694d277a89e9a5e3fea0adb9f.tar.gz |
Change path of bin/sidkiq-cluster in comments
`sidekiq-cluster` is moved from `bin/` to `ee/bin` in EE code. This
is a corresponding change in CE.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/sidekiq_config.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/sidekiq_config.rb b/lib/gitlab/sidekiq_config.rb index fb303e3fb0c..c102fa14cfc 100644 --- a/lib/gitlab/sidekiq_config.rb +++ b/lib/gitlab/sidekiq_config.rb @@ -7,7 +7,7 @@ module Gitlab module SidekiqConfig QUEUE_CONFIG_PATHS = %w[app/workers/all_queues.yml ee/app/workers/all_queues.yml].freeze - # This method is called by `bin/sidekiq-cluster` in EE, which runs outside + # This method is called by `ee/bin/sidekiq-cluster` in EE, which runs outside # of bundler/Rails context, so we cannot use any gem or Rails methods. def self.worker_queues(rails_path = Rails.root.to_s) @worker_queues ||= {} @@ -19,7 +19,7 @@ module Gitlab end end - # This method is called by `bin/sidekiq-cluster` in EE, which runs outside + # This method is called by `ee/bin/sidekiq-cluster` in EE, which runs outside # of bundler/Rails context, so we cannot use any gem or Rails methods. def self.expand_queues(queues, all_queues = self.worker_queues) return [] if queues.empty? |