projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
respect content-type header in finger request
[akkoma]
/
lib
/
pleroma
/
gun
/
connection_pool
/
reclaimer.ex
diff --git
a/lib/pleroma/gun/connection_pool/reclaimer.ex
b/lib/pleroma/gun/connection_pool/reclaimer.ex
index 1793ac3ee6c37146f9a249573e33cccb0ea9f750..c37b62bf2f21b7b812037045c90644a76124b030 100644
(file)
--- a/
lib/pleroma/gun/connection_pool/reclaimer.ex
+++ b/
lib/pleroma/gun/connection_pool/reclaimer.ex
@@
-1,9
+1,13
@@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Gun.ConnectionPool.Reclaimer do
use GenServer, restart: :temporary
@registry Pleroma.Gun.ConnectionPool
defmodule Pleroma.Gun.ConnectionPool.Reclaimer do
use GenServer, restart: :temporary
@registry Pleroma.Gun.ConnectionPool
- def start_monitor
()
do
+ def start_monitor do
pid =
case :gen_server.start(__MODULE__, [], name: {:via, Registry, {@registry, "reclaimer"}}) do
{:ok, pid} ->
pid =
case :gen_server.start(__MODULE__, [], name: {:via, Registry, {@registry, "reclaimer"}}) do
{:ok, pid} ->