YT
lib/health_check.ex:12:no_return
Function init/1 has no local return.
Size: a a a
YT
lib/health_check.ex:12:no_return
Function init/1 has no local return.
YT
AB
YT
YT
AB
AB
AB
AB
YT
YT
YT
YT
YT
defmodule BipSessions.HealthCheck.Supervisor do
use Supervisor
def start_link([]) do
Supervisor.start_link(__MODULE__, [], name: __MODULE__)
end
def start_child(session_id) do
Supervisor.start_child(__MODULE__, [session_id])
end
def init([]) do
children = []
sup_opts = [strategy: :simple_one_for_one, max_restarts: 10, max_seconds: 1]
Supervisor.init(children, sup_opts)
end
end
AB
YT
AS
YT
YT
defmodule BipSessions.HealthCheck.Supervisor do
use Supervisor
def start_link([]) do
Supervisor.start_link(__MODULE__, [], name: __MODULE__)
end
def init([]) do
children = []
sup_opts = [strategy: :simple_one_for_one, max_restarts: 10, max_seconds: 1]
Supervisor.init(children, sup_opts)
end
end
МБ