From 4647bcd6e647ad31ba492a6e712721b58bf47e83 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sat, 18 Nov 2017 12:22:07 +0100 Subject: [PATCH] Don't start streamer during tests. --- lib/pleroma/application.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ 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