TwitterAPI.ActivityView: Ignore unhandled activities
[akkoma] / lib / pleroma / application.ex
index cc68d9669fe7a22cba9de9185e8d1b8f1f28d758..8705395a4faf2c6199c3a83f3367a89bfd1cd1e8 100644 (file)
@@ -15,7 +15,6 @@ defmodule Pleroma.Application do
 
   # See http://elixir-lang.org/docs/stable/elixir/Application.html
   # for more information on OTP Applications
-  @env Mix.env()
   def start(_type, _args) do
     import Cachex.Spec
 
@@ -66,7 +65,8 @@ defmodule Pleroma.Application do
         ),
         worker(Pleroma.Web.Federator.RetryQueue, []),
         worker(Pleroma.Web.Federator, []),
-        worker(Pleroma.Stats, [])
+        worker(Pleroma.Stats, []),
+        worker(Pleroma.Web.Push, [])
       ] ++
         streamer_child() ++
         chat_child() ++