aboutsummaryrefslogtreecommitdiff
path: root/lib/octochat/supervisor.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/octochat/supervisor.ex')
-rw-r--r--lib/octochat/supervisor.ex4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/octochat/supervisor.ex b/lib/octochat/supervisor.ex
index b26f4de..0c38829 100644
--- a/lib/octochat/supervisor.ex
+++ b/lib/octochat/supervisor.ex
@@ -10,7 +10,9 @@ defmodule Octochat.Supervisor do
end
def init(_) do
- children = []
+ children = [
+ worker(Task, [Octochat.Acceptor, :accept, []])
+ ]
opts = [strategy: :one_for_one]
supervise(children, opts)