Apply suggestion to lib/pleroma/pool/connections.ex

This commit is contained in:
Alexander Strizhakov 2020-03-03 09:29:51 +00:00
parent 4c8569d403
commit 097ad10d02

View File

@ -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),