projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tests for account registration with captcha enabled and improve errors
[akkoma]
/
lib
/
pleroma
/
pool
/
connections.ex
diff --git
a/lib/pleroma/pool/connections.ex
b/lib/pleroma/pool/connections.ex
index 772833509ad8f419681145e096569c43f70eeff7..acafe1beabe7c698810172683dd6ad530ba00047 100644
(file)
--- a/
lib/pleroma/pool/connections.ex
+++ b/
lib/pleroma/pool/connections.ex
@@
-180,7
+180,7
@@
defmodule Pleroma.Pool.Connections do
key = "#{scheme}:#{host}:#{port}"
state =
key = "#{scheme}:#{host}:#{port}"
state =
- with {
_
key, conn} <- find_conn(state.conns, conn_pid, key),
+ with {key, conn} <- find_conn(state.conns, conn_pid, key),
{true, key} <- {Process.alive?(conn_pid), key} do
put_in(state.conns[key], %{
conn
{true, key} <- {Process.alive?(conn_pid), key} do
put_in(state.conns[key], %{
conn
@@
-243,7
+243,7
@@
defmodule Pleroma.Pool.Connections do
@impl true
def handle_info({:DOWN, _ref, :process, conn_pid, reason}, state) do
@impl true
def handle_info({:DOWN, _ref, :process, conn_pid, reason}, state) do
- Logger.debug("received DOW
M
message for #{inspect(conn_pid)} reason -> #{inspect(reason)}")
+ Logger.debug("received DOW
N
message for #{inspect(conn_pid)} reason -> #{inspect(reason)}")
state =
with {key, conn} <- find_conn(state.conns, conn_pid) do
state =
with {key, conn} <- find_conn(state.conns, conn_pid) do