diff options
Diffstat (limited to 'lib/gitlab/sidekiq_config/dummy_worker.rb')
-rw-r--r-- | lib/gitlab/sidekiq_config/dummy_worker.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/gitlab/sidekiq_config/dummy_worker.rb b/lib/gitlab/sidekiq_config/dummy_worker.rb index ef0dce0cf84..b7f53da8e00 100644 --- a/lib/gitlab/sidekiq_config/dummy_worker.rb +++ b/lib/gitlab/sidekiq_config/dummy_worker.rb @@ -5,7 +5,6 @@ module Gitlab # For queues that don't have explicit workers - default and mailers class DummyWorker ATTRIBUTE_METHODS = { - queue: :queue, name: :name, feature_category: :get_feature_category, has_external_dependencies: :worker_has_external_dependencies?, @@ -20,6 +19,10 @@ module Gitlab @attributes = attributes end + def generated_queue_name + @attributes[:queue] + end + def queue_namespace nil end |