Merge branch 'release/1.1.9' into 'stable'
[akkoma] / lib / pleroma / application.ex
index 3b75bbe6a3b26614a35fdc55fa1c243cea2b20fb..b338be10111c3c0f13333edfc8da591e425cb8c0 100644 (file)
@@ -34,7 +34,6 @@ defmodule Pleroma.Application do
         Pleroma.Config.TransferTask,
         Pleroma.Emoji,
         Pleroma.Captcha,
-        Pleroma.FlakeId,
         Pleroma.ScheduledActivityWorker,
         Pleroma.ActivityExpirationWorker
       ] ++
@@ -56,9 +55,7 @@ defmodule Pleroma.Application do
     # See http://elixir-lang.org/docs/stable/elixir/Supervisor.html
     # for other strategies and supported options
     opts = [strategy: :one_for_one, name: Pleroma.Supervisor]
-    result = Supervisor.start_link(children, opts)
-    :ok = after_supervisor_start()
-    result
+    Supervisor.start_link(children, opts)
   end
 
   defp setup_instrumenters do
@@ -103,7 +100,8 @@ defmodule Pleroma.Application do
       build_cachex("rich_media", default_ttl: :timer.minutes(120), limit: 5000),
       build_cachex("scrubber", limit: 2500),
       build_cachex("idempotency", expiration: idempotency_expiration(), limit: 2500),
-      build_cachex("web_resp", limit: 2500)
+      build_cachex("web_resp", limit: 2500),
+      build_cachex("failed_proxy_url", limit: 2500)
     ]
   end