From: Roger Braun Date: Sat, 18 Nov 2017 11:22:07 +0000 (+0100) Subject: Don't start streamer during tests. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4647bcd6e647ad31ba492a6e712721b58bf47e83;p=akkoma Don't start streamer during tests. --- 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