diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-07-16 21:00:41 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-09-24 10:12:03 +0300 |
commit | 94eb5d59e54cc2d2acc8cd039b21020db2c264f6 (patch) | |
tree | ba8397573c03d968bf92bd7d8b42e63b844a0ace /lib/mix | |
parent | 2d5d2738375e76db1d88b303527fd99b6c934f6e (diff) | |
download | pleroma-94eb5d59e54cc2d2acc8cd039b21020db2c264f6.tar.gz |
simplified environment update child
Diffstat (limited to 'lib/mix')
-rw-r--r-- | lib/mix/pleroma.ex | 6 |
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)} ] ++ |