diff options
author | href <href@random.sh> | 2020-07-07 21:39:10 +0200 |
---|---|---|
committer | href <href@random.sh> | 2020-07-07 21:39:51 +0200 |
commit | d6ee134a5957e299c3ad59011df320b3c41e6e61 (patch) | |
tree | 29567e6635466f8a3415a935b3cc8a777019f5bc /lib/lsg/application.ex | |
parent | bleh (diff) |
pouet
Diffstat (limited to 'lib/lsg/application.ex')
-rw-r--r-- | lib/lsg/application.ex | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/lsg/application.ex b/lib/lsg/application.ex index 972767f..a12253b 100644 --- a/lib/lsg/application.ex +++ b/lib/lsg/application.ex @@ -15,13 +15,18 @@ defmodule LSG.Application do worker(Registry, [[keys: :duplicate, name: LSG.BroadcastRegistry]], id: :registry_broadcast), worker(LSG.IcecastAgent, []), worker(LSG.Token, []), + worker(LSG.AuthToken, []), + {GenMagic.Pool, [name: LSG.GenMagic, pool_size: 2]}, + LSG.Telegram, #worker(LSG.Icecast, []), ] ++ LSG.IRC.application_childs # See https://hexdocs.pm/elixir/Supervisor.html # for other strategies and supported options opts = [strategy: :one_for_one, name: LSG.Supervisor] - Supervisor.start_link(children, opts) + sup = Supervisor.start_link(children, opts) + LSG.IRC.after_start() + sup end # Tell Phoenix to update the endpoint configuration |