Browse Source

application: fix up after_supervisor_start removal backport

tags/v1.1.4
Ariadne Conill 4 years ago
parent
commit
17fed5ae52
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      lib/pleroma/application.ex

+ 1
- 3
lib/pleroma/application.ex View File

@@ -56,9 +56,7 @@ defmodule Pleroma.Application do
# See http://elixir-lang.org/docs/stable/elixir/Supervisor.html # See http://elixir-lang.org/docs/stable/elixir/Supervisor.html
# for other strategies and supported options # for other strategies and supported options
opts = [strategy: :one_for_one, name: Pleroma.Supervisor] 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 end


defp setup_instrumenters do defp setup_instrumenters do


Loading…
Cancel
Save