debian-mirror-gitlab/lib/gitlab/sidekiq_middleware/duplicate_jobs.rb
2020-04-08 18:37:08 +05:30

13 lines
230 B
Ruby

# frozen_string_literal: true
require 'digest'
module Gitlab
module SidekiqMiddleware
module DuplicateJobs
def self.drop_duplicates?
Feature.enabled?(:drop_duplicate_sidekiq_jobs)
end
end
end
end