summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-07-16 21:00:41 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-09-24 10:12:03 +0300
commit94eb5d59e54cc2d2acc8cd039b21020db2c264f6 (patch)
treeba8397573c03d968bf92bd7d8b42e63b844a0ace
parent2d5d2738375e76db1d88b303527fd99b6c934f6e (diff)
simplified environment update child
-rw-r--r--lib/mix/pleroma.ex6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/mix/pleroma.ex b/lib/mix/pleroma.ex
index 7c5322ffe..4cf327721 100644
--- a/lib/mix/pleroma.ex
+++ b/lib/mix/pleroma.ex
@@ -39,11 +39,7 @@ defmodule Mix.Pleroma do
children =
[
Pleroma.Repo,
- %{
- id: :env_updater,
- start: {Task, :start_link, [&Pleroma.Config.Environment.load_and_update/0]},
- restart: :temporary
- },
+ {Task, &Pleroma.Config.Environment.load_and_update/0},
Pleroma.Web.Endpoint,
{Oban, Pleroma.Config.get(Oban)}
] ++