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

none.rb « strategies « pause_control « sidekiq_middleware « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c31f0a9918e7d058dc2442e9c9f3bacfee65a894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module Gitlab
  module SidekiqMiddleware
    module PauseControl
      module Strategies
        # This strategy will never pause a job
        class None < Base
          override :should_pause?
          def should_pause?
            false
          end
        end
      end
    end
  end
end