Don't run warnings in a task.
authorlain <lain@soykaf.club>
Mon, 28 Jan 2019 12:05:17 +0000 (13:05 +0100)
committerlain <lain@soykaf.club>
Mon, 28 Jan 2019 12:05:17 +0000 (13:05 +0100)
lib/pleroma/application.ex

index f63477934c63fa5df93a4537cdcd7fbcdcbd83fb..aa46bcbc44b1df408322a647acc27e0e58d72860 100644 (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 =