Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/sidekiq_config/worker.rb')
-rw-r--r--lib/gitlab/sidekiq_config/worker.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/gitlab/sidekiq_config/worker.rb b/lib/gitlab/sidekiq_config/worker.rb
index a343573440f..1e3fb675ca7 100644
--- a/lib/gitlab/sidekiq_config/worker.rb
+++ b/lib/gitlab/sidekiq_config/worker.rb
@@ -13,15 +13,20 @@ module Gitlab
:worker_has_external_dependencies?,
to: :klass
- def initialize(klass, ee:)
+ def initialize(klass, ee:, jh: false)
@klass = klass
@ee = ee
+ @jh = jh
end
def ee?
@ee
end
+ def jh?
+ @jh
+ end
+
def ==(other)
to_yaml == case other
when self.class