Replace `Pleroma.FlakeId` with `flake_id` hex package
[akkoma] / lib / pleroma / application.ex
index 3b75bbe6a3b26614a35fdc55fa1c243cea2b20fb..dd64937eca0d1657d25f223eb99c580ee1de787a 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