about summary refs log tree commit diff
path: root/lib/chewy/strategy/custom_sidekiq.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-05-18 23:29:14 +0200
committerGitHub <noreply@github.com>2022-05-18 23:29:14 +0200
commit679b7158e3cd3881e8cbaf2d2c0c97725b3b5fd9 (patch)
tree9cc1dd73c3cd894207bf3c806234c8c919459985 /lib/chewy/strategy/custom_sidekiq.rb
parentded5a0254a4d29a7384ef766a1e92467fe4ebd2b (diff)
Change search indexing to use batches to minimize resource usage (#18451)
Diffstat (limited to 'lib/chewy/strategy/custom_sidekiq.rb')
-rw-r--r--lib/chewy/strategy/custom_sidekiq.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/chewy/strategy/custom_sidekiq.rb b/lib/chewy/strategy/custom_sidekiq.rb
deleted file mode 100644
index 794ae4ed4..000000000
--- a/lib/chewy/strategy/custom_sidekiq.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-module Chewy
-  class Strategy
-    class CustomSidekiq < Sidekiq
-      def update(_type, _objects, _options = {})
-        super if Chewy.enabled?
-      end
-    end
-  end
-end