don't stream in benchmark env

This commit is contained in:
Alexander 2019-10-15 15:16:17 +03:00
parent ecd7ac855b
commit e7bb762ec2
No known key found for this signature in database
GPG Key ID: 7AE1AD696BA41708

View File

@ -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