Deduplicate sockets by path
This commit is contained in:
1 parent
c3c80b716c
commit
0172c68e09
3 files changed
+34
-33
No files matched your search
+2
-1
@@ -17,7 +17,8 @@ defmodule Frajtano.Supervisor do
|
||||
@impl true
|
||||
def init(:ok) do
|
||||
children = [
|
||||
{DynamicSupervisor, name: Frajtano.Peer},
|
||||
{DynamicSupervisor, name: Frajtano.PeerSupervisor},
|
||||
{Registry, keys: :unique, name: Frajtano.Peers},
|
||||
Frajtano.Agent,
|
||||
{Task.Supervisor, name: Frajtano.ClientSupervisor},
|
||||
{Frajtano.Listener, [Application.fetch_env!(:frajtano, :listen_path)]},
|
||||
|
||||
Reference in new issue
Block a user