don't restart pleroma in mix tasks

This commit is contained in:
Alexander Strizhakov 2020-07-03 20:12:00 +03:00
commit b28cc15459
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
2 changed files with 7 additions and 3 deletions

View file

@ -22,7 +22,11 @@ defmodule Mix.Pleroma do
Enum.each(apps, &Application.ensure_all_started/1)
childs = [Pleroma.Repo, Pleroma.Config.TransferTask, Pleroma.Web.Endpoint]
childs = [
Pleroma.Repo,
{Pleroma.Config.TransferTask, false},
Pleroma.Web.Endpoint
]
cachex_childs = Enum.map(@cachex_childs, &Pleroma.Application.build_cachex(&1, []))