Remove Omnibot.State from process tree
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -16,7 +16,6 @@ defmodule Omnibot.Supervisor do
|
|||||||
# TODO : move cfg to its own process so reloading it is as simple as killing the process
|
# TODO : move cfg to its own process so reloading it is as simple as killing the process
|
||||||
children = [
|
children = [
|
||||||
{Task.Supervisor, name: Omnibot.RouterSupervisor, strategy: :one_for_one},
|
{Task.Supervisor, name: Omnibot.RouterSupervisor, strategy: :one_for_one},
|
||||||
{Omnibot.State, cfg: cfg, name: Omnibot.State},
|
|
||||||
{Omnibot.PluginManager, cfg: cfg, name: Omnibot.PluginManager},
|
{Omnibot.PluginManager, cfg: cfg, name: Omnibot.PluginManager},
|
||||||
] ++ unless IEx.started?(),
|
] ++ unless IEx.started?(),
|
||||||
do: [{Omnibot.Irc, cfg: cfg, name: Omnibot.Irc}],
|
do: [{Omnibot.Irc, cfg: cfg, name: Omnibot.Irc}],
|
||||||
|
|||||||
Reference in New Issue
Block a user