some fixes
authorAlexander <alex.strizhakov@gmail.com>
Tue, 15 Oct 2019 13:26:04 +0000 (16:26 +0300)
committerAlexander <alex.strizhakov@gmail.com>
Tue, 15 Oct 2019 13:26:04 +0000 (16:26 +0300)
benchmarks/load_testing/fetcher.ex
benchmarks/mix/tasks/pleroma/load_testing.ex

index 0ff2f28c0da9a349e8d98cadcd9e80d687351c36..e378c51e7f55db8bcd64f4b28e27f8c098cf34a6 100644 (file)
@@ -210,7 +210,7 @@ defmodule Pleroma.LoadTesting.Fetcher do
 
     Benchee.run(%{
       "Render status" => fn ->
-        Pleroma.Web.MastodonAPI.StatusView.render("status.json", %{
+        Pleroma.Web.MastodonAPI.StatusView.render("show.json", %{
           activity: activity,
           for: user
         })
index 7b2293acc44163346b588504836e3d348d4d7e42..4fa3eec493014d8f4dbf7fb2676a05f120785f50 100644 (file)
@@ -31,7 +31,7 @@ defmodule Mix.Tasks.Pleroma.LoadTesting do
     thread_length: :integer
   ]
   @users_default 20_000
-  @dms_default 20_000
+  @dms_default 1_000
   @thread_length_default 2_000
 
   def run(args) do