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

zoekt.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: 23cba5553e241a67586f1effbd5c15db06de857e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Gitlab
  module SidekiqMiddleware
    module PauseControl
      module Strategies
        class Zoekt < Base
          override :should_pause?
          def should_pause?
            ::Feature.enabled?(:zoekt_pause_indexing, type: :ops)
          end
        end
      end
    end
  end
end