diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-11-18 12:22:07 +0100 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-11-18 12:22:07 +0100 |
commit | 4647bcd6e647ad31ba492a6e712721b58bf47e83 (patch) | |
tree | dec8c4e4291ba5f346e56a0893ed051e6c69cba4 /lib | |
parent | a743940463a7d0a7346f77792310dff6a98e7f31 (diff) | |
download | pleroma-4647bcd6e647ad31ba492a6e712721b58bf47e83.tar.gz |
Don't start streamer during tests.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/application.ex | 2 |
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 |