mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 19:29:11 +00:00
don't stream in benchmark env
This commit is contained in:
parent
ecd7ac855b
commit
e7bb762ec2
1 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ defmodule Pleroma.Web.Streamer do
|
|||
end
|
||||
end
|
||||
|
||||
defp handle_should_send(_) do
|
||||
true
|
||||
end
|
||||
defp handle_should_send(:benchmark), do: false
|
||||
|
||||
defp handle_should_send(_), do: true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue