forked from AkkomaGang/akkoma
@env is not used
This commit is contained in:
parent
42e78a08b2
commit
70880d54f8
1 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ def start(_type, _args) do
|
||||||
] ++
|
] ++
|
||||||
task_children(@env) ++
|
task_children(@env) ++
|
||||||
dont_run_in_test(@env) ++
|
dont_run_in_test(@env) ++
|
||||||
chat_child(@env, chat_enabled?()) ++
|
chat_child(chat_enabled?()) ++
|
||||||
[
|
[
|
||||||
Pleroma.Web.Endpoint,
|
Pleroma.Web.Endpoint,
|
||||||
Pleroma.Gopher.Server
|
Pleroma.Gopher.Server
|
||||||
|
@ -201,11 +201,11 @@ defp dont_run_in_test(_) do
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
defp chat_child(_env, true) do
|
defp chat_child(true) do
|
||||||
[Pleroma.Web.ChatChannel.ChatChannelState]
|
[Pleroma.Web.ChatChannel.ChatChannelState]
|
||||||
end
|
end
|
||||||
|
|
||||||
defp chat_child(_, _), do: []
|
defp chat_child(_), do: []
|
||||||
|
|
||||||
defp task_children(:test) do
|
defp task_children(:test) do
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue