Credo
This commit is contained in:
parent
cca9d6aeaa
commit
dcd0102800
@ -208,7 +208,7 @@ defmodule Pleroma.Application do
|
|||||||
|
|
||||||
defp shout_enabled?, do: Config.get([:shout, :enabled])
|
defp shout_enabled?, do: Config.get([:shout, :enabled])
|
||||||
|
|
||||||
defp streamer_registry() do
|
defp streamer_registry do
|
||||||
if Application.get_env(:pleroma, __MODULE__)[:streamer_registry] do
|
if Application.get_env(:pleroma, __MODULE__)[:streamer_registry] do
|
||||||
[
|
[
|
||||||
{Registry,
|
{Registry,
|
||||||
@ -243,7 +243,7 @@ defmodule Pleroma.Application do
|
|||||||
|
|
||||||
defp shout_child(_), do: []
|
defp shout_child(_), do: []
|
||||||
|
|
||||||
defp task_children() do
|
defp task_children do
|
||||||
children = [
|
children = [
|
||||||
%{
|
%{
|
||||||
id: :web_push_init,
|
id: :web_push_init,
|
||||||
@ -279,7 +279,7 @@ defmodule Pleroma.Application do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
defp http_children_hackney() do
|
defp http_children_hackney do
|
||||||
pools = [:federation, :media]
|
pools = [:federation, :media]
|
||||||
|
|
||||||
pools =
|
pools =
|
||||||
@ -295,7 +295,7 @@ defmodule Pleroma.Application do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
defp http_children_gun() do
|
defp http_children_gun do
|
||||||
Pleroma.Gun.ConnectionPool.children() ++
|
Pleroma.Gun.ConnectionPool.children() ++
|
||||||
[{Task, &Pleroma.HTTP.AdapterHelper.Gun.limiter_setup/0}]
|
[{Task, &Pleroma.HTTP.AdapterHelper.Gun.limiter_setup/0}]
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user