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.
This commit is contained in:
parent
c4340c652b
commit
6229a45851
1 changed files with 2 additions and 2 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue