Rename Peer to 'Backing Agent'
This commit is contained in:
@@ -17,12 +17,12 @@ defmodule Frajtano.Supervisor do
|
||||
@impl true
|
||||
def init(:ok) do
|
||||
children = [
|
||||
{DynamicSupervisor, name: Frajtano.PeerSupervisor},
|
||||
{Registry, keys: :unique, name: Frajtano.Peers},
|
||||
{DynamicSupervisor, name: Frajtano.BackingAgentSupervisor},
|
||||
{Registry, keys: :unique, name: Frajtano.BackingAgents},
|
||||
Frajtano.Agent,
|
||||
{Task.Supervisor, name: Frajtano.ClientSupervisor},
|
||||
{Frajtano.Listener, [Application.fetch_env!(:frajtano, :listen_path)]},
|
||||
{Task, &Frajtano.Agent.initial_peers/0},
|
||||
{Task, &Frajtano.Agent.initial_backing_agents/0},
|
||||
:systemd.ready(),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user