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
1 changed files with 1 additions and 1 deletions

View File

@ -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