activities generation tasks

This commit is contained in:
Alexander Strizhakov 2020-01-14 14:42:30 +03:00
commit eb9744cade
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
8 changed files with 1184 additions and 761 deletions

View file

@ -1,11 +1,3 @@
defmodule Pleroma.LoadTesting.Helper do
defmacro __using__(_) do
quote do
import Ecto.Query
alias Pleroma.Repo
alias Pleroma.User
defp to_sec(microseconds), do: microseconds / 1_000_000
end
end
def to_sec(microseconds), do: microseconds / 1_000_000
end