This commit is contained in:
Rüdiger Diedrich
2022-07-21 18:42:42 +02:00
parent 7035fe5b2d
commit de9afd2907
8 changed files with 191 additions and 24 deletions

View File

@ -8,6 +8,10 @@ defmodule SomethingErlang.Application do
@impl true
def start(_type, _args) do
children = [
{Registry, [name: SomethingErlang.Registry.Grovers,
keys: :unique]},
{DynamicSupervisor, [name: SomethingErlang.Supervisor.Grovers,
strategy: :one_for_one]},
# Start the Ecto repository
SomethingErlang.Repo,
# Start the Telemetry supervisor