aboutsummaryrefslogtreecommitdiff
path: root/shard/lib/application.ex
diff options
context:
space:
mode:
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