aboutsummaryrefslogtreecommitdiff
path: root/lib/application.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/application.ex')
-rw-r--r--lib/application.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/application.ex b/lib/application.ex
index 3ad9325..e375cf4 100644
--- a/lib/application.ex
+++ b/lib/application.ex
@@ -13,14 +13,14 @@ defmodule Shard.Application do
# Define workers and child supervisors to be supervised
children = [
Shard.Identity,
+ { DynamicSupervisor, strategy: :one_for_one, name: Shard.DynamicSupervisor },
# Networking
{ SNet.Manager, listen_port },
{ SNet.TCPServer, listen_port },
- { DynamicSupervisor, strategy: :one_for_one, name: SNet.ConnSupervisor },
# Applications & data store
- { SData.MerkleList, [&SApp.Chat.msg_cmp/2, name: SApp.Chat.Log] },
+ Shard.Manager,
# Web UI
Plug.Adapters.Cowboy.child_spec(:http, SWeb.HTTPRouter, [], port: listen_port + 1000)