mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-10-31 22:04:07 +00:00
12 lines
235 B
Elixir
12 lines
235 B
Elixir
|
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
|
||
|
end
|