projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
rate limiter: disable based on if remote ip was found, not on if the plug was enabled
[akkoma]
/
benchmarks
/
load_testing
/
helper.ex
1
defmodule Pleroma.LoadTesting.Helper do
2
defmacro __using__(_) do
3
quote do
4
import Ecto.Query
5
alias Pleroma.Repo
6
alias Pleroma.User
7
8
defp to_sec(microseconds), do: microseconds / 1_000_000
9
end
10
end
11
end