From f1d58c5c494d66f89573e2787935ee9f50f18c31 Mon Sep 17 00:00:00 2001 From: lain Date: Mon, 28 Jan 2019 13:05:17 +0100 Subject: [PATCH] Don't run warnings in a task. --- 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 f63477934..aa46bcbc4 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -22,7 +22,7 @@ defmodule Pleroma.Application do def start(_type, _args) do import Cachex.Spec - Task.start(&Pleroma.DeprecationWarnings.warn/0) + Pleroma.DeprecationWarnings.warn() # Define workers and child supervisors to be supervised children = -- 2.45.2