generatoin and fetching
This commit is contained in:
parent
79dde58044
commit
a1125bd564
4 changed files with 290 additions and 93 deletions
|
|
@ -2,13 +2,8 @@ defmodule Pleroma.LoadTesting.Helper do
|
|||
defmacro __using__(_) do
|
||||
quote do
|
||||
import Ecto.Query
|
||||
alias Pleroma.Activity
|
||||
alias Pleroma.Notification
|
||||
alias Pleroma.Object
|
||||
alias Pleroma.Repo
|
||||
alias Pleroma.User
|
||||
alias Pleroma.Web.ActivityPub
|
||||
alias Pleroma.Web.CommonAPI
|
||||
|
||||
defp to_sec(microseconds), do: microseconds / 1_000_000
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue