Class: Gitlab::SidekiqMiddleware::DuplicateJobs::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/sidekiq_middleware/duplicate_jobs/client.rb

Instance Method Summary collapse

Instance Method Details

#call(worker_class, job, queue, _redis_pool, &block) ⇒ Object


7
8
9
# File 'lib/gitlab/sidekiq_middleware/duplicate_jobs/client.rb', line 7

def call(worker_class, job, queue, _redis_pool, &block)
  ::Gitlab::SidekiqMiddleware::DuplicateJobs::DuplicateJob.new(job, queue).schedule(&block)
end