don't stream in benchmark env
This commit is contained in:
parent
ecd7ac855b
commit
e7bb762ec2
@ -49,7 +49,7 @@ defmodule Pleroma.Web.Streamer do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
defp handle_should_send(_) do
|
defp handle_should_send(:benchmark), do: false
|
||||||
true
|
|
||||||
end
|
defp handle_should_send(_), do: true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user