Apply suggestion to lib/pleroma/pool/connections.ex
This commit is contained in:
parent
4c8569d403
commit
097ad10d02
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ def handle_call({:checkin, uri}, from, state) do
|
|||
Logger.debug("checkin #{key}")
|
||||
|
||||
case state.conns[key] do
|
||||
%{conn: conn, gun_state: gun_state} = current_conn when gun_state == :up ->
|
||||
%{conn: conn, gun_state: :up} = current_conn ->
|
||||
Logger.debug("reusing conn #{key}")
|
||||
|
||||
with time <- :os.system_time(:second),
|
||||
|
|
Loading…
Reference in a new issue