Don't start streamer during tests.
This commit is contained in:
parent
a743940463
commit
4647bcd6e6
|
@ -20,8 +20,8 @@ def start(_type, _args) 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
|
||||
|
|
Loading…
Reference in a new issue