aboutsummaryrefslogtreecommitdiff
path: root/shard/lib/application.ex
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-10-10 17:24:00 +0200
committerAlex Auvolat <alex@adnab.me>2018-10-10 17:24:00 +0200
commit062faf49cbd98fc7ef68f8387a18c5a0a131025e (patch)
tree3cd55898ab518ac1f0188df2bebae477439ed47a /shard/lib/application.ex
parent7bdd60c7f99df417b2589f0e99ff16abc8e925c5 (diff)
downloadshard-062faf49cbd98fc7ef68f8387a18c5a0a131025e.tar.gz
shard-062faf49cbd98fc7ef68f8387a18c5a0a131025e.zip
Fixes, and I think it works not too bad at the moment.
Diffstat (limited to 'shard/lib/application.ex')
-rw-r--r--shard/lib/application.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/shard/lib/application.ex b/shard/lib/application.ex
index 9c1577a..6e2c7d5 100644
--- a/shard/lib/application.ex
+++ b/shard/lib/application.ex
@@ -16,6 +16,8 @@ defmodule Shard.Application do
# Define workers and child supervisors to be supervised
children = [
Shard.Keys,
+ { Task, fn -> Shard.Keys.get_any_identity end },
+
{ DynamicSupervisor, strategy: :one_for_one, name: Shard.DynamicSupervisor },
# Networking