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

client.rb « duplicate_jobs « sidekiq_middleware « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6417ec20960857276db3cb3ad38264ffe988e1e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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