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: bb0c18735bb767fabbe632005681fc752c09d274 (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)
          DuplicateJob.new(job, queue).schedule(&block)
        end
      end
    end
  end
end