Apply suggestion to benchmarks/load_testing/generator.ex

This commit is contained in:
lain 2020-03-25 15:48:15 +00:00
parent 3bd2829e5c
commit c8475cd5c6

View file

@ -24,7 +24,7 @@ defmodule Pleroma.LoadTesting.Generator do
IO.puts("Starting generating #{opts[:users_max]} users...") IO.puts("Starting generating #{opts[:users_max]} users...")
{time, users} = :timer.tc(fn -> do_generate_users(opts) end) {time, users} = :timer.tc(fn -> do_generate_users(opts) end)
IO.puts("Inserting users take #{to_sec(time)} sec.\n") IO.puts("Inserting users took #{to_sec(time)} sec.\n")
users users
end end