module Searchkick::IndexerWithInstrumentation

Public Instance Methods

perform() click to toggle source
Calls superclass method
# File lib/searchkick/logging.rb, line 116
def perform
  if Searchkick.callbacks_value == :bulk
    event = {
      name: "Bulk",
      count: queued_items.size
    }
    ActiveSupport::Notifications.instrument("request.searchkick", event) do
      super
    end
  else
    super
  end
end