Merge remote-tracking branch 'origin/feature/elasticsearch' into develop
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Thu, 16 Dec 2021 16:13:41 +0000 (16:13 +0000)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Thu, 16 Dec 2021 16:13:41 +0000 (16:13 +0000)
1  2 
lib/pleroma/elasticsearch/store.ex

index aa5e2b1040689e29944ac93255d0080cf1ba9d3e,5c9e1502210b28915d835f2878df794072e055cb..7f6ef37a927ad46dcbbbe4e36761c5b66e1b0e54
@@@ -95,12 -108,6 +108,7 @@@ defmodule Pleroma.Elasticsearch d
        )
    end
  
-   def maybe_bulk_post(data, type) do
-     if enabled?() do
-       bulk_post(data, type)
-     end
-   end
 +
    def bulk_post(data, :users) do
      d =
        data