From: lain Date: Mon, 28 Jan 2019 12:05:17 +0000 (+0100) Subject: Don't run warnings in a task. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f1d58c5c494d66f89573e2787935ee9f50f18c31;p=akkoma Don't run warnings in a task. --- 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 =