mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 11:19:19 +00:00
revert endpoint position in supervision tree
This commit is contained in:
parent
763fc7b44f
commit
d096bc17bf
1 changed files with 2 additions and 2 deletions
|
@ -14,6 +14,8 @@ defmodule Pleroma.Application do
|
||||||
# Start the Ecto repository
|
# Start the Ecto repository
|
||||||
supervisor(Pleroma.Repo, []),
|
supervisor(Pleroma.Repo, []),
|
||||||
worker(Pleroma.Emoji, []),
|
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)
|
# Start your own worker by calling: Pleroma.Worker.start_link(arg1, arg2, arg3)
|
||||||
# worker(Pleroma.Worker, [arg1, arg2, arg3]),
|
# worker(Pleroma.Worker, [arg1, arg2, arg3]),
|
||||||
worker(
|
worker(
|
||||||
|
@ -57,8 +59,6 @@ defmodule Pleroma.Application do
|
||||||
),
|
),
|
||||||
worker(Pleroma.Web.Federator, []),
|
worker(Pleroma.Web.Federator, []),
|
||||||
worker(Pleroma.Stats, []),
|
worker(Pleroma.Stats, []),
|
||||||
# Start the endpoint when the application starts
|
|
||||||
supervisor(Pleroma.Web.Endpoint, []),
|
|
||||||
worker(Pleroma.Gopher.Server, [])
|
worker(Pleroma.Gopher.Server, [])
|
||||||
] ++
|
] ++
|
||||||
if Mix.env() == :test,
|
if Mix.env() == :test,
|
||||||
|
|
Loading…
Reference in a new issue