Don't run warnings in a task.

This commit is contained in:
lain 2019-01-28 13:05:17 +01:00
parent 39b2457734
commit f1d58c5c49

View file

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