From 66b20c976f3ffa3614dc4ad678f9ee7a107c3336 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Tue, 11 Aug 2020 15:37:02 -0700 Subject: [PATCH] Remove Omnibot.State from process tree Signed-off-by: Alek Ratzloff --- lib/supervisor.ex | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/supervisor.ex b/lib/supervisor.ex index d6524db..35067d7 100644 --- a/lib/supervisor.ex +++ b/lib/supervisor.ex @@ -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 children = [ {Task.Supervisor, name: Omnibot.RouterSupervisor, strategy: :one_for_one}, - {Omnibot.State, cfg: cfg, name: Omnibot.State}, {Omnibot.PluginManager, cfg: cfg, name: Omnibot.PluginManager}, ] ++ unless IEx.started?(), do: [{Omnibot.Irc, cfg: cfg, name: Omnibot.Irc}],