Flake: HM module

This commit is contained in:
bluepython508 committed 2024-09-22 12:56:29 +01:00
1 parent 6aaf8ff8e5
commit c3c80b716c
10 files changed
+138 -38

No files matched your search

+2 -2
View File
@@ -17,10 +17,10 @@ defmodule Frajtano.Supervisor do
@impl true
def init(:ok) do
children = [
{DynamicSupervisor, name: Frajtano.Peer},
Frajtano.Agent,
{Frajtano.Listener, [Application.fetch_env!(:frajtano, :listen_path)]},
{Task.Supervisor, name: Frajtano.ClientSupervisor},
{DynamicSupervisor, name: Frajtano.Peer}
{Frajtano.Listener, [Application.fetch_env!(:frajtano, :listen_path)]},
]
Supervisor.init(children, strategy: :one_for_one)