Don't start streamer during tests.

This commit is contained in:
Roger Braun 2017-11-18 12:22:07 +01:00
parent a743940463
commit 4647bcd6e6

View file

@ -20,8 +20,8 @@ defmodule Pleroma.Application do
limit: 2500 limit: 2500
]]), ]]),
worker(Pleroma.Web.Federator, []), 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 # See http://elixir-lang.org/docs/stable/elixir/Supervisor.html
# for other strategies and supported options # for other strategies and supported options