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 @@ def user_agent() 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 =