aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-11-18 12:22:07 +0100
committerRoger Braun <roger@rogerbraun.net>2017-11-18 12:22:07 +0100
commit4647bcd6e647ad31ba492a6e712721b58bf47e83 (patch)
treedec8c4e4291ba5f346e56a0893ed051e6c69cba4 /lib
parenta743940463a7d0a7346f77792310dff6a98e7f31 (diff)
downloadpleroma-4647bcd6e647ad31ba492a6e712721b58bf47e83.tar.gz
Don't start streamer during tests.
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 5422cbc28..bfe16e13a 100644
--- a/lib/pleroma/application.ex
+++ b/lib/pleroma/application.ex
@@ -20,8 +20,8 @@ defmodule Pleroma.Application do
limit: 2500
]]),
worker(Pleroma.Web.Federator, []),
- worker(Pleroma.Web.Streamer, [])
]
+ ++ if Mix.env == :test, do: [], else: [worker(Pleroma.Web.Streamer, [])]
# See http://elixir-lang.org/docs/stable/elixir/Supervisor.html
# for other strategies and supported options