summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-01-14 14:42:30 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-03-30 11:42:25 +0300
commiteb9744cadea7191b088ddaadfbd5fa4d4fd45090 (patch)
tree5c2c53e6a562f6280a58d831c5453eafe481337f /lib
parente999c67cee65cfe07de6dc76ad18f213c0252bb3 (diff)
downloadpleroma-eb9744cadea7191b088ddaadfbd5fa4d4fd45090.tar.gz
pleroma-eb9744cadea7191b088ddaadfbd5fa4d4fd45090.zip
activities generation tasks
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/application.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex
index 33f1705df..51850abb5 100644
--- a/lib/pleroma/application.ex
+++ b/lib/pleroma/application.ex
@@ -157,7 +157,7 @@ defmodule Pleroma.Application do
defp chat_enabled?, do: Pleroma.Config.get([:chat, :enabled])
- defp streamer_child(:test), do: []
+ defp streamer_child(env) when env in [:test, :benchmark], do: []
defp streamer_child(_) do
[Pleroma.Web.Streamer.supervisor()]