From: Egor Kislitsyn Date: Fri, 31 May 2019 09:37:33 +0000 (+0700) Subject: Update benchmark mix task X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=94b9e9d844ad47c198817e732a54ad286caa346a;p=akkoma Update benchmark mix task --- diff --git a/lib/mix/tasks/benchmark.ex b/lib/mix/tasks/benchmark.ex index 0fbb4dbb1..e4b1a638a 100644 --- a/lib/mix/tasks/benchmark.ex +++ b/lib/mix/tasks/benchmark.ex @@ -7,7 +7,7 @@ defmodule Mix.Tasks.Pleroma.Benchmark do Benchee.run(%{ "search" => fn -> - Pleroma.Web.MastodonAPI.MastodonAPIController.status_search(nil, "cofe") + Pleroma.Activity.search(nil, "cofe") end }) end