projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd7ac8
)
don't stream in benchmark env
author
Alexander
<alex.strizhakov@gmail.com>
Tue, 15 Oct 2019 12:16:17 +0000
(15:16 +0300)
committer
Alexander
<alex.strizhakov@gmail.com>
Tue, 15 Oct 2019 12:16:17 +0000
(15:16 +0300)
lib/pleroma/web/streamer/streamer.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/streamer/streamer.ex
b/lib/pleroma/web/streamer/streamer.ex
index 8cf719277f4774de6197cb20b283c51bc2a3ebfb..2fc7ac8cf694a2b4a6ecd30a3466b0c967fa7ee5 100644
(file)
--- a/
lib/pleroma/web/streamer/streamer.ex
+++ b/
lib/pleroma/web/streamer/streamer.ex
@@
-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