Page MenuHomePhorge

No OneTemporary

Size
782 B
Referenced Files
None
Subscribers
None
diff --git a/lib/pleroma/application/gun_supervisor.ex b/lib/pleroma/application/gun_supervisor.ex
index d749a56f5..d56a01aa9 100644
--- a/lib/pleroma/application/gun_supervisor.ex
+++ b/lib/pleroma/application/gun_supervisor.ex
@@ -1,15 +1,19 @@
+# Pleroma: A lightweight social networking server
+# # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# # SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Application.GunSupervisor do
use Supervisor
def start_link(_) do
Supervisor.start_link(__MODULE__, :no_args)
end
def init(_) do
children =
Pleroma.Gun.ConnectionPool.children() ++
[{Task, &Pleroma.HTTP.AdapterHelper.Gun.limiter_setup/0}]
Supervisor.init(children, strategy: :one_for_one)
end
end

File Metadata

Mime Type
text/x-diff
Expires
Tue, Oct 13, 2:28 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1786567
Default Alt Text
(782 B)

Event Timeline