about summary refs log tree commit diff
path: root/lib/chewy/strategy/custom_sidekiq.rb
blob: 794ae4ed44dc82aa54287f3490ce4743656f6dbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Chewy
  class Strategy
    class CustomSidekiq < Sidekiq
      def update(_type, _objects, _options = {})
        super if Chewy.enabled?
      end
    end
  end
end