forked from mirrors/akkoma
some fixes
This commit is contained in:
parent
e7bb762ec2
commit
8c0cfed825
|
@ -210,7 +210,7 @@ def query_long_thread(user, activity) 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
|
||||||
})
|
})
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue