revert endpoint position in supervision tree

This commit is contained in:
href 2018-11-05 14:05:04 +01:00
parent 763fc7b44f
commit d096bc17bf
No known key found for this signature in database
GPG Key ID: EE8296C1A152C325
1 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,8 @@ def start(_type, _args) do
# Start the Ecto repository
supervisor(Pleroma.Repo, []),
worker(Pleroma.Emoji, []),
# Start the endpoint when the application starts
supervisor(Pleroma.Web.Endpoint, []),
# Start your own worker by calling: Pleroma.Worker.start_link(arg1, arg2, arg3)
# worker(Pleroma.Worker, [arg1, arg2, arg3]),
worker(
@ -57,8 +59,6 @@ def start(_type, _args) do
),
worker(Pleroma.Web.Federator, []),
worker(Pleroma.Stats, []),
# Start the endpoint when the application starts
supervisor(Pleroma.Web.Endpoint, []),
worker(Pleroma.Gopher.Server, [])
] ++
if Mix.env() == :test,