some fixes

This commit is contained in:
Alexander 2019-10-15 16:26:04 +03:00
parent e7bb762ec2
commit 8c0cfed825
No known key found for this signature in database
GPG Key ID: 7AE1AD696BA41708
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ defmodule Pleroma.LoadTesting.Fetcher do
Benchee.run(%{ Benchee.run(%{
"Render status" => fn -> "Render status" => fn ->
Pleroma.Web.MastodonAPI.StatusView.render("status.json", %{ Pleroma.Web.MastodonAPI.StatusView.render("show.json", %{
activity: activity, activity: activity,
for: user for: user
}) })

View File

@ -31,7 +31,7 @@ defmodule Mix.Tasks.Pleroma.LoadTesting do
thread_length: :integer thread_length: :integer
] ]
@users_default 20_000 @users_default 20_000
@dms_default 20_000 @dms_default 1_000
@thread_length_default 2_000 @thread_length_default 2_000
def run(args) do def run(args) do